what is the command to find out which shell you are running?
Answer Posted / abhilash s thachil
ps is not the correct answer. ps just lists out the running processes.
echo $SHELL will just print the value in environment variable SHELL which is your default shell.
Correct answer is echo $0
This will print current shell even after you change your shell from a running shell.
- Abhilash S Thachil
Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
What is awk used for?
Enumerate some of the most commonly used network commands in unix?
What do chgrp command do?
How do I open a port?
What is the size of time_t?
What is grep in bash?
What's a command word?
Name the general commands in using unix os for a beginner?
Explain command to display different lines that are found when compare two files?
What is the difference between awk and grep?
Which command is used to create a directory?
What does find command return in unix?
Is ‘du’ a command? If so, what is its use?
What is merge command in unix?
How do I search for a file in unix command?