1. -f option when used with mv command overwrites existing files without prompting any messages.
2. Which command is used for displaying contents of a file?
3. Apart from displaying file contents, cat command is also used for _____ files.
Correct Answer is : creating
4. Multiple arguments as filenames can be specified in cat command.
5. Which symbol is used with cat command for creating files?
6. If we create a file using cat command with the same filename which already exists in the current directory then,
Correct Answer is : existing file will be overwritten
7. Which symbol is used to append an existing file?
8. Which option is used with cat command for displaying non-printable characters?
9. Which option is used with the cat command for displaying file with line numbers?
10. Which of the following cannot be performed by cat command?
Correct Answer is : deleting files
11. What does cat file01 file01 file01 display?
Correct Answer is : contents of file01 three times successively
12. Which files will be displayed by the following command:
cat *file*
Correct Answer is : all files with filename containing ‘file’
13. Which command is used to create empty files?
Correct Answer is : create
14. Which option is used with touch command which forces the command not to create file, if it does not exists.
15. Which one of the following commands is incorrect?
Correct Answer is : cat -a file01
16. Copying is referred to as yanking in vi editor.
17. Which key is used for deleting text?
18. Which command is used for deleting a single character?
19. Which command is used for deleting the character on the left of the cursor?
20. Which of the following command is used to delete a single line?