11.5 8
Question:
Answer: grep
Question: A technician attempts to run an executable file on a Linux computer and receives a Permission Denied message.
Which of the following command should the technician use?
Answer: chmod
Question: You’re using the vi editor to manage a text file on a Linux system. You want to type new text into the file. When you type, you want the existing text that comes after the cursor to be pushed down.
Which mode provides this function?
Answer: insert mode
Question: You’ve just opened a text file in the vi editor, and you’re in Command Mode by default. There is more then one way to get from Command Mode to Replace Mode.
Which of the following key-press sequences will get you into Replace Mode? (Select THREE)
Answer: Press i key and then press Insert
Press the S key and then press Insert
Press Insert and then press Insert again
Question: You need to see what kind of CPU is being used on a Linus system. The /proc directory contains a text file called cpuinfo that will give you the information you are looking for.
Which of the following commands will display the entire contents of the cpuinfo text file on the screen?
Answer: cat/proc/cpuinfo
Question:
Answer: less/var/log/auth.log
more /var/log/auth.log
Question:
Answer: su -