如何得知dash的版本号?

问题描述 投票:0回答:3

我安装了一个破折号外壳作为

/bin/dash
。我查了dash的手册,和POSIX shell手册一样,里面没有什么可以告诉shell的版本。

破折号——版本

不起作用。

如何知道我的dash版本号??

补充:有些人向我指出 Ubuntu 命令,好吧,不,我没有运行 Ubuntu,我运行的是 Centos。

linux centos dash-shell
3个回答
3
投票

dpkg -s

运行以下命令:

dpkg -s dash

1
投票

在像 Centos 这样使用

rpm
的系统上:

rpm -q dash

0
投票
pip list

此命令将返回所有已安装的软件包,以及它们的特定版本和位置。

© www.soinside.com 2019 - 2024. All rights reserved.