Frequent Question: What Is Bin Sh Linux?
Contents

/bin/sh is an executable representing the system shell and usually implemented as a symbolic link pointing to the executable for whichever shell is the system shell. … In last couple of years, Debian (and Ubuntu) decided to switch the system shell from bash to dash — a similar shell but lighter and much faster.

Is bin sh same as bash?

bash and sh are two different shells. Basically bash is sh , with more features and better syntax. Most commands work the same, but they are different. … In Ubuntu /bin/sh used to link to bash , typical behavior on Linux distributions, but now has changed to linking to another shell called dash.

What is bin sh option?

If the -c option is present, then commands are read from string . If there are arguments after the string, they are assigned to the positional parameters, starting with $0 . will launch bash and execute the command ls . /bin/sh is usually a symlink to a shell.

Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest