PrepAway - Latest Free Exam Questions & Answers

Which of the following commands will he use to accomplish the task?

You work as a Network Administrator for McNeil Inc. The company has a Linux-based network.
David, a Sales Manager, wants to know the name of the shell that he is currently using. Which of
the following commands will he use to accomplish the task?

PrepAway - Latest Free Exam Questions & Answers

A.
ECHO $shell

B.
RM $shell

C.
MV $shell

D.
LS $shell

Explanation:

In order to know the name of the current shell, he will run the following command:
ECHO $shell
The command line interpreter in Linux is known as the shell. When a user runs a command, the
shell interprets, processes, and executes the command and provides an output to the user. Linux
comes with quite a few shells such as Bourne
Shell, Bourne Again Shell (BASH), C Shell, Korn Shell, etc. Bash is the most popular shell used by
Linux users.
What is BASH?
The Bourne Again Shell (BASH) is a command language interpreter for the GNU’s Not Unix (GNU)
operating system. The following files are used to configure BASH:


Leave a Reply