Which of the following commands enables the setuid (suid) permission on the executable called /bin/foo?
Answer : B
Which of the following shell redirections will write standard output and standard error output to a file named filename?
Answer : B
Which option to the tee command will cause the output to be concatenated on the end of the output file instead of overwriting the existing file contents?
Answer : A
You are writing text in vi. Now you want to save your changes and exit. Which TWO sequence of inputs will accomplish this?
Answer : A, D
In the vi editor, which of the following commands will copy the current line into the vi buffer?
Answer : D
When should grep -F or the fgrep command be used to search the content of text files?
Answer : C
Which of the following commands will print the first few lines of a text file to the shell?
Answer : C