9.4 Linux File Management, 9.4.11 Practice Questions

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

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?

1. tail 2. cat

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?

Insert Mode

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

bash

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?

chmod

-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?

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

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

pwd

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?

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 -


Ensembles d'études connexes

AP Bio Chapter CYCLES and RESERVOIRS

View Set

Cuban Revolution (1953-1959) and Castro

View Set

GEOGRAPHY 345 EXAM 2: CH. 4 SUSTAINABLE COMMONS CARBON

View Set

28Qw/exp (contains some pharm Q from quiz) Seizures & Stroke

View Set