2.1.7

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

What would you enter at the command prompt to start a new Bourne-again shell (bash) session?

Bourne-again shell (bash) Explanation The bash command opens a Bourne-again sheel (bash) session. The Bourne-again shell (bash) is the standard shell used in most Linux computers. It uses commands similar to a UNIX shell. Bash includes features such as: Command completion when pressing the tab key. Command history. Improved arithmetic functions.

What would you enter at the command prompt on a Linux system to display the IP addresses and the subnet masks assigned to each network interface on a Linux system?

ifconfig Explanation The ifconfig command displays the IP addresses and the subnet masks assigned to each network interface installed on a Linux system.

What would you enter at the command prompt on a Linux system to display a list of files and subdirectories that exist within the present working directory?

ls Explanation The ls command displays a list of files and subdirectories that exist on a Linux system within the present working directory.

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

man ifconfig Explanation Entering man ifconfig will display the manual page for the ifconfig command. It's very similar to the help screen, but it provides more detail.

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

pwd Use pwd to show the present working directory.

You are logged in as a user with limited system privileges. You are the Linux system administrator and you have the password to the root user account. When you need to switch to root user to perform administrative task, what command would enter at the command prompt? Tip: The command must switch to the home directory and environment variables assigned to the root user.

su - Explanation The su - command switches ownerships of the current session to the root user. Entering a space and a dash after su ensures that you will have to access to the home directory and environment variables assigned to the root user. You will be required to enter the root user password to proceed after entering the su - command.


संबंधित स्टडी सेट्स

IB History - Indian Independence

View Set

SERIES 6: Section 3 ... Securities & Tax Regulation

View Set