Sie sind auf Seite 1von 1

Linux and X-windows Programming (Linux FileSystem)

Lab Exercise 2
1. How long can a filename in Linux be?
2. Which command is used to find what is in your home directory?
3. Which command is used to clear the screen?
4. The head command writes the first _____________ lines of a file to the screen.
5. What is used to search files for specified words or patterns?
6. ------- symbol is used to redirect the output of a command
7. Which character is used to match exactly one character?
8. Which command is used to see the online manual?
9. What is the difference between who and whoami command?
10. Write command to count the number of lines in a file?
11. What command is used to list the files chap0l, chap02 and chap04?
12. What command is used to list contents of directories?
13. What command is used to sort the lines of data in a file in reverse order?
14. What command is used to count the number of files in the current directory by using
pipes?
15. Write the command to rename a file in UNIX?
16. What command is used to remove a non-empty directory?
17. What command can be used to get information about yourself?
18. What command is used to print a file?
19. What command is used to list the jobs currently in print queues?
20. What command is used to display your current working directory?

Das könnte Ihnen auch gefallen