1.5.6 Linux Basics Practice Questions

Your page rank:

Total word count: 381
Pages: 1

Calculate the Price

- -
275 words
Looking for Expert Opinion?
Let us have a look at your work and suggest how to improve it!
Get a Consultant

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

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 present working directory?

pwd Use pwd to show the present working directory.

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

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.

Share This
Flashcard

More flashcards like this

NCLEX 10000 Integumentary Disorders

When assessing a client with partial-thickness burns over 60% of the body, which finding should the nurse report immediately? a) ...

Read more

NCLEX 300-NEURO

A client with amyotrophic lateral sclerosis (ALS) tells the nurse, "Sometimes I feel so frustrated. I can’t do anything without ...

Read more

NASM Flashcards

Which of the following is the process of getting oxygen from the environment to the tissues of the body? Diffusion ...

Read more

Unfinished tasks keep piling up?

Let us complete them for you. Quickly and professionally.

Check Price

Successful message
sending