1. : To display the non-printable characters, what option do we use with cat command?
(A) -v
(B) -n
(C) -x
(D) -a
2. : cat *file* — The given command will display:
(A) all files in a directory
(B) all of the files with the filename containing the word ‘file’
(C) will display no files
(D) a single file
3. : For creating empty files, what command do we use?
(A) cp
(B) cat
(C) touch
(D) create
4. : To display the contents of a file, what command do we use?
(A) cp
(B) rm
(C) cat
(D) mkdir
5. : Apart from displaying the file contents, for what other purpose is cat command used?
(A) displaying
(B) deleting
(C) copying
(D) creating
6. : To display the file with line numbers, what option do we use with cat command?
(A) -n
(B) -v
(C) -a
(D) -x
7. : What can the cat command not perform?
(A) displaying files
(B) creating files
(C) appending files
(D) deleting files
8. : What will the command cat file01 file01 file01 display?
(A) error
(B) blank terminal
(C) the contents of the given file01 three times successively
(D) the contents of the file01 a single time
9. : What will happen if we create a file using the cat command with a filename that already exists in the current directory?
(A) existing file will be deleted
(B) new file is created separately
(C) existing file is overwritten
(D) an error will occur