CS Week 8 – Linux Terminal – Scripting And Permissions

For this week, we’re continuing the Linux tutorials provided on the website https://ryanstutorials.net/linuxtutorial/ . Go through the “Permissions” section and the “Scripting” section of the tutorial. After reading through those sections, create the following scripts using Vim:

1.       A script that outputs the contents of the current directory;

2.       A script with a variable ‘name’ that outputs “Hello ‘name’” (‘name’ being the string that you put in the variable in the script);

3.       A script that takes command line arguments and outputs them back to the command line.

An example of each script can be found in the tutorials.

Submit a screenshot of each of your scripts being run in a PuTTY or terminal session. If you haven’t completed the Intro to Terminal challenge you can find it here – https://thecommons.bitrix24.com/compan…log/21712/

Due July 10 at noon for full points

 

My submission:

Leave a Reply

Your email address will not be published. Required fields are marked *