1. Taking into account the following command. echo 'foo bar' | tea bar | cat Which of the following output is generated?
A) foo B) cat C) bar D) tea bar E) foo bar
2. Every grep command will print only lines that do not end / foo?
A) grep -v '/ $' foo B) grep '/ $' foo C) grep '/ #' foo D) None E) grep -v '/ #' foo
3. Which of the following commands will not update Edit the timestamp file /tmp/myfile.txt?
A) file /tmp/myfile.txt B) echo 'hello'> /tmp/myfile.txt C) echo -n 'hello' >> / tmp / myfile.txt D) -ie sed 's / side / '/tmp/myfile.txt E) touch /tmp/myfile.txt
4. In any of the following signals are sent to a process when the CTRL + C key is pressed?
A) None B) SIGTERM C) SIGKILL D) SIGINT E) SIGSTOP
5. What mount -a command to do?
A) It ensures that all file systems in the / etc / fstab installed regardless of the options. B) It opens the editor with superuser privileges and loads of / etc / fstab editing C) It ensures that all files listed in the option Auto / etc / fstab installed D) It ensures that all files listed in the noauto option in / etc / fstab is installed. E) It shows all the connected file systems that are automatically installed.
Leave a comment