I have a dash shell installed as /bin/dash
. I checked the manual of dash, which is the same as the POSIX shell manual, and there is nothing there to tell the version of the shell.
dash --version
does not work.
How to tell the version number of dash I have??
Added: some people are pointing me to Ubuntu commands, well, no I am not running Ubuntu, I am running Centos.
On systems like Centos that use rpm
:
rpm -q dash