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 does the md command do?
Who command in unix?
What is rmdir command?
How to find $ai_serual resolved path by using unix
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
Using unix command how to display no of records in oracle?
What is awk good for?
What is used to type command?
Can you enlist some commonly used network commands?
What does pipe () return?
What is unix command line?
What do chmod command do?
What command is used to check the current users?
What is the difference between grep and grep?
What is updatedb?