sh – Page 2 – POFTUT

Tagged: sh


How To Get Shell Type and Version In Linux?

While using remote sessions we may need to know the type and version of the remote shell . Bash is popular but there may be different shells like sh, csh, ksh etc. Using $SHELL Variable Shells provides environment variables to give information about the shell and the environment. $SHELL environment variable can be used to get current she type. $SHELL variable information is not so reliable.

We can see that our...

Enjoy this blog? Please spread the word :)