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 the functionality of a top command?
What is updatedb?
How do I open a port?
Explain command to view process running?
What is the function of grep command in unix?
Which command should you use to find the remaining disk space in unix server?
What does this command do? Cat food 1 > kitty
What are bash commands?
Explain ‘system calls’ with respect to unix commands?
Differentiate cat command from more command.
Who wrote grep?
Which command is used to kill the last background job?
How many unix commands are there?
Which command can you use to find the currently running process in unix server?
What is the comma to show the space allocation of files?