Linux worksheets
Linux Script Worksheet POS/433 Version 2 | 2 |
University of Phoenix Material
Linux® Script Worksheet
To: <Insert your facilitator's name>
From: <Insert your name>
Date: <Insert the date (XX/XX/XXXX)>
Before beginning the Linux® Script Worksheet, update the PATH variable to add your folder from last week. You will find how to do this on p. 134 of Linux® Command Line and Shell Scripting Bible.
In the same folder as part 1, create a new file titled week3prog1[name].scr. Change the permissions on this new file to add the execute bit for user, group, and owner. Edit your new file using Gedit or VI and change it so it performs the following actions:
Note: Remember to include #!/bin/bash as the first line of your script. Save the file and type your file name to execute. <Insert your source code here.> <Insert the output here. Use a screenshot of the output with the input requirements specified in the assignment.> |
In the same folder as last week, create a new file called week3prog2[name].scr. Change the permissions on this new file to add the execute bit for user, group, and owner. Edit your new file using Gedit or VI and change it so it performs the following actions:
Note: Remember to include #!/bin/bash as the first line of your script. <Insert your source code here.> <Insert the output here. Use a screenshot of the output with the input requirements specified in the assignment.> |
In the same folder as Part one, create a new file called week3prog3[name].scr. Change the permissions on this new file to add the execute bit for user, group, and owner. Create two files.
Edit your new file using Gedit or VI and change it so it performs the following actions:
Note: Remember to include #!/bin/bash as the first line of your script. <Insert your source code here.> <Insert the output here. Use a screenshot of the output with the input requirements specified in the assignment.> |