How do you know which shell I am using in linux?



How do you know which shell I am using in linux?..

Answer / Pulkit Sharma

To find out which shell you are currently using in Linux, run the command 'echo $SHELL' or 'whoami' followed by 'which [shell_name]'. Replace '[shell_name]' with the name of the shell you suspect you might be using.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux Commands Interview Questions

What is an inode?

3 Answers   ProdEx Technologies,


why is the tar command used?

1 Answers  


How do you clear the screen in linux?

1 Answers  


How do I get to root in linux?

1 Answers  


how do find all failed login attempts via ssh?

8 Answers   TCL,


What is $@ in shell?

1 Answers  


what is command like " #(cd unixos; pwd) " tell me OUTPUT

10 Answers   Google,


Explain any one service which are working on udp only?

1 Answers  


What does chmod 755 do?

1 Answers  


Explain getopts command of linux?

1 Answers  


What is the difference between diff and cmp command in unix?

1 Answers  


What commands are used to see all jobs running in the hadoop cluster and kill a job in linux?

1 Answers  


Categories