Home » LPI » 117-201 » What can you type at a command line to determine which shell you are using?
SIMULATION
What can you type at a command line to determine which shell you are using?
Correct Answer: echo $SHELL
Explanation/Reference:
Explanation: The ‘echo’ command is used to echo a string to standard output. $shell is an environment variable that reflects the current shell in use.
Therefore, the ‘echo $shell’ command will display the name and path of the shell you are using.
Reference: http://www.santafe.edu/projects/echo/how-to/node30.html
Download Printable PDF. VALID exam to help you PASS.
|
|