Programming Homework Help

CISS 116 BCCC The shell Script Named LL that Lists Your Directory Codes

 

1. Create a shell script named LL that lists your directory in a long format.
a. Execute LL using the sh command.

b. Change LL to an executable file.

c. Execute LL again.

2. Create a script file that performs the following:

a. Clears the screen.

b. Skips two lines.

c. Shows the current date and time.

d. Shows the number of the users on the system.

e. Beeps a few times and shows the message Now at your service

3. Create a script file for each of the script examples in this chapter that were typed at the $ prompt. Make the appropriate modifications if necessary and run them. Use sh with the -x and other options to debug, and investigate the way shell scripts are executed.