ANSWERS TO "UNIX" Questions

1. What is the command to change the password?

passwd

2. What does the command stty do?

Sets up options for control of a terminal

3. What is the command to print a file one screenful at a time?

pg

4. What is the command to ask for confirmation before removing a file?

rm -i filename

5. How can you change the owner of a file?

chown

6. What is the function of tar command?

Tape File Archiver

7. What do you specify to run a command that is immune to interruptions from "hanging up" the terminal?

nohup

8. What does the command "wait" do?

Waits for termination of a specific or all processes that are running in the background

9. How do you look up the manual entry for a command?

man

10. How can you get the name of your terminal?

tty

11. What is the command to know the amount of free space in a file system?

df

12. How do you broadcast a message to all the users who are logged in?

wall

13. What does the command wc do?

Counts lines and words in a file

14. What is awk?

Pattern scanning and processing language

15. How do you make a new file system on a device?

mkfs

16. What is the command to check the consistency of a file system?

fsck

17. What is the command to beautify a "C" program?

cb

18. What is the command to link an alias to an existing file?

ln

19. How do you find out who are logged onto the system?

who

20. What is the command to know the active processes?

ps

Visit my quiz archive
Return to my homepage