Read the following scenario. Provide the command(s) in context of the environment established in the scenario. Write your answers on the line under each question.

- Your home directory is /usr/students/project
- Your current directory is your home directory
- You have number of directories and files in your home directory

1. Display the word HELLO in large letters.
=>>
2. Send a HELLO banner to the printer.
=>>
3. Obtain a disk summary report.
=>>
4. Spell check myfile and save the suspected words in another file called junk.
=>>
5. Sort myfile at 130 pm on Wednesday.
=>>
6. List the jobs that are scheduled for the later run.
=>>
7. Send myfile to the user ID david at noon on Friday.
=>>

8. Remove a job from the scheduled job queue.
=>>
9. Change the access mode of myfile to the owner rwx only.
=>>
10. Change the access mode of myfile to grant rwx to all users.
=>>
11. Show the detailed information for the user-ID called username.
=>>
12. Archive all files in the current directory.

1. Display the word HELLO in large letters.
=>> banner HELLO
2. Send a HELLO banner to the printer.
=>> banner HELLO | lp
3. Obtain a disk summary report.
=>> du
4. Spell check myfile and save the suspected words in another file called junk.
=>> spell myfile >> junk
5. Sort myfile at 130 pm on Wednesday.
=>> at 0130 pm Wed sort myfile
6. List the jobs that are scheduled for the later run.
=>> at l
7. Send myfile to the user ID david at noon on Friday.
=>> at noon Fri mailx david << myfile
8. Remove a job from the scheduled job queue.
=>> at r process id
9. Change the access mode of myfile to the owner rwx only.
=>> chmod 700 myfile
10. Change the access mode of myfile to grant rwx to all users.
=>> chmod 777 myfile
11. Show the detailed information for the user-ID called username.
=>> finger username
12. Archive all files in the current directory.
=>> tar -cvf ./projects .

Computer Science & Information Technology

You might also like to view...

The __________ is the issuer of certificates and certificate revocation lists and may also support a variety of administrative functions.

A. CRL issuer B. certified user C. certification authority D. registration authority

Computer Science & Information Technology

The needs of the hard drive will depend on the size of the operating system, the databases data files, redo files, archived redo files, and ____ files.

A. log B. control C. browser D. status

Computer Science & Information Technology