Linux Script Worksheet

Submitted by: Submitted by

Views: 348

Words: 594

Pages: 3

Category: Business and Industry

Date Submitted: 09/30/2013 07:14 PM

Report This Essay

University of Phoenix Material

Linux® Script Worksheet

From: Joseph Olivieri

Date: 09/09/2013

Linux® Script 1

|Requirements |

| |

|Create a new file called week3-1.sh with the following command: touch week3-1.sh |

| |

|Change the permissions on this new file to add the execute bit for user, group, and owner with the following command: sudo chmod 755 week3-1.sh |

| |

|Edit your new file and change it so it performs the following actions: |

| |

|Display the current date |

|Display the words There is more to the truth than just the facts |

|Display a list of the users that are currently logged-in (there is a shell command for this) |

| |

|Note. Remember to include #!/bin/bash as the first line...