C Shell Program 7.
Clear your history by running the following command:
history -c
Write a BOURNE shell script (/bin/bash) that will output:
- Your full name
- Your login name
- The type of terminal that you are set up to use
- Your secondary prompt
- Your current path
- The current date
- The first argument you passed to the script
- The third argument you passed to the script
- All of the arguments you passed to the script
- The number of arguments you passed to the script
- Your home directory path
- List all the files in your home directory, including hidden files and permissions
- Save your history to a file:
history > assignment7yourname.txt
- Disconnect from your virtual machine