I would like to know about my shell version using a Linux command. I tried the following command, but it shows the type of the shell I am in.
Command:
echo $SHELL
Result:
/bin/bash
This will do it:
$SHELL --version
In my case, the output is:
zsh 5.0.2 (x86_64-pc-linux-gnu)
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments