Chapter 9 9.4.11 Practice Questions

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

You are 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? Command Line Mode Text Mode Command Mode Insert Mode Replace Mode

Insert Mode

Which command would you enter at the shell prompt to start a new Bourne-Again Shell (Bash) session?

bash

What would you enter at the shell prompt on a Linux system to display the present working directory?

pwd

A technician uses the ps command to find information about a 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 commands would help the technician find and display only the information about the browser process? cd sudo grep ls

grep

What would you enter at the Command Prompt on a Linux system to display the IP addresses and subnet masks that are assigned to each network interface?

ip

You want to know more about the usage, command syntax, and options available with the Linux cat command. What would you enter at the Command Prompt to display this information about the cat command?

man cat

While troubleshooting an issue with an Apache web server on your Linux system, you need to look at the last several entries in the log file. Which of the following tools would be best suited for this task? (Select two.) ls head dd cat tail

cat tail

A technician attempts to run an executable file on a Linux computer and receives a Permission Denied message. Which of the following commands should the technician use? ls grep chmod ps

chmod

You would like to completely shut down a system 10 minutes after notifying all users of your intent. Which of the following commands should you enter at the shell prompt? Incorrect response: shutdown -p 10 message Correct Answer: shutdown 10 -h message Correct Answer: shutdown -r +10 message Correct Answer: shutdown -h +10 message

shutdown -h +10 message

You are the administrator for a Linux server. Following best practices for system security and effective administration, you always log in to 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, by default, switch you to the root user and require you to enter the root password?

su -


Set pelajaran terkait

Psychology Chapter 3 Objectives 1-16

View Set

And Then There Were None True or False

View Set

Chapter 10: Stockholders' Equity

View Set

ECON 2023 Resource Prices & Utilization (learnsmart)

View Set

PCOL Block 7: Laxatives and Antidiarrheal

View Set

Biology: Learning Outcomes (Week 1-4)

View Set

Exploring Psychology Ch12 - Personality

View Set