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...

Create a static method the Picture class which will create and return a Picture object from a passed file name. Is this better or worse than using a constructor that takes a file name?

What will be an ideal response?

Computer Science & Information Technology

Digital is better than analog encoding of information because with digital it is possible to have a(n) _______.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Write a function that will copy the contents of file in.dat to the file out.dat. Check for successful file opening of both in.dat and out.dat. The loop that actually does the copy should terminate on end of file.

What will be an ideal response?

Computer Science & Information Technology

The anticipatory and deadline schedulers are different in that ________.

a) the anticipatory scheduler prevents read request starvation, whereas the deadline scheduler is more appropriate for real-time systems b) the anticipatory scheduler prevents read request starvation by introducing a 6ms pause after each read request c) the deadline scheduler is more appropriate when write requests and synchronous read requests occur concurrently d) both a and b

Computer Science & Information Technology