I'm always confused to get the version of software installed in Ubuntu. To prevent from full typing to get the version like
<software> --version instead I always use some thing like
But the problem is that not for all software it works. For some I've to use
<software> -v and for some I've to use full
--version to get the version.
wget, gedit, nano, mysql etc all works with -V (Capital V)
but Php, Skype and may be others never worked with -V instead I've to use -v (small v) to get the version:
php -V Usage: php [options] [-f] <file> [--] [args...] php [options] -r <code> [--] [args...] php [options] [-B <begin_code>] -R <code> [-E <end_code>] [--] [args...] php [options] [-B <begin_code>] -F <file> [-E <end_code>] [--] [args...] ... php -v PHP 5.3.10-1ubuntu3.9 with Suhosin-Patch (cli) (built: Dec 12 2013 04:27:25) ...
Some work with both -v and -V like firefox. And some even don't work with either of -v or -V like totem , wine and google-chrome.
- Why there is this much difference?
- Since -V is always preferred to get the version of software, Why there is no any standard? or is there any standard that I don't know?