Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in Linux by (18.4k points)

I wanted to know my shell version using a Linux command. I used the following command, but it shows this type of shell I am in.

Command:

echo $SHELL

Result:

/bin/bash

1 Answer

0 votes
by (36.8k points)

This will do it:

$SHELL --version

In my case, the output is:

zsh 5.0.2 (x86_64-pc-linux-gnu) 

To know about Linux join the Linux training

 

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Nov 30, 2020 in Linux by dev_sk2311 (44.4k points)
0 votes
1 answer

Browse Categories

...