How to check what shell is /bin/sh?
Asked by
Dimitri John Ledkov
I'm running Karmic
$ /bin/sh --version
GNU bash, version 3.2.48(1)-release (i486-pc-linux-gnu)
Copyright (C) 2007 Free Software Foundation, Inc.
$ /bin/bash --version
GNU bash, version 4.0.33(1)-release (i486-pc-linux-gnu)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$ /bin/dash --version
/bin/dash: Illegal option --
$
So is my /bin/sh bash, dash or someone replaced it by something malicious?
$ dpkg -S /bin/sh
diversion by dash from: /bin/sh
diversion by dash to: /bin/sh.distrib
bash: /bin/sh
$
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu dash Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- actionparsnip
- Solved:
- Last query:
- Last reply:
To post a message you must log in.