CS W8 – Linux Terminal – Permissions and Scripting

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.

This was a really nice challenge. After this I think I’ll dedicate myself on learning more about Linux and all its tools and functionalities.

Leave a Reply

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