11.5 8

Question: A technician uses the ps command to find information about the process that is running a browser application on a Linux computer. The technician knows the name of the process, but the list is very long.Which of the following command would help the technician find and display only the information about the browser process?

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 InsertPress the S key and then press InsertPress 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: You need to view the contents of /var/log/auth.log file to get information about the users that have been logging on to the system. The auth.log file is a plain text file so you decide to use the cat command to review the file. However, the display fills up with text for several pages and you can't see the entire file.What commands can you use to view the content of the auth.log file page by page? (Select TWO)

Answer: less/var/log/auth.logmore /var/log/auth.log

Question: You are the administrator for a Linux server. Following best practices for system security and effective administration, you always log in the system with a standard non-root user account. You only elevate your privileges to root user level when you need to do an administrative task.What do you enter at the command prompt that will, be default, switch you to the root user and require you to enter the root password?

Answer: su -

Donation Page

Support Our Work

Do you appreciate the value this website provides? If so, please consider donating to help keep it running. Your donation will go a long way in helping us continue to provide the same quality of content and services. Every bit helps, and your support is greatly appreciated. Thank you for your generosity.