Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to tell the version number of dash?

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.

like image 461
Mark Galeck Avatar asked Apr 16 '16 06:04

Mark Galeck


People also ask

How to check version of dash Python?

To check your Plotly Dash version in your Python script, first import the dash library with import dash and then print(dash. __version__) . The output is the current version of your Plotly Dash installation in the format x.y.z (e.g., 2.5. 1 ).

What is dash in shell script?

dash is the standard command interpreter for the system. The current version of dash is in the process of being changed to conform with the POSIX 1003.2 and 1003.2a specifications for the shell.

Is Dash a Linux shell?

Dash is an acronym for Debian Almquist shell (dash). It is a Unix and Linux shell which is much smaller than bash but still aiming at POSIX-compliancy. dash is a POSIX-compliant implementation of /bin/sh that aims to be as small as possible.


2 Answers

dpkg -s

Run the following command:

dpkg -s dash
like image 154
harsh_v Avatar answered Sep 16 '22 23:09

harsh_v


On systems like Centos that use rpm:

rpm -q dash
like image 40
rob mayoff Avatar answered Sep 20 '22 23:09

rob mayoff