[Ilugc] [GVL] bash and sh difference?

  • From: trshash84@xxxxxxxxx (T.R.Shashwath)
  • Date: Sun Jan 23 19:48:41 2005

On Sunday 23 Jan 2005 2:07 pm, Kumar Appaiah wrote:

Hello!

In the Shell scripting class held last Saturday, I asked whether sh
isn't just a symbolic link to bash on Linux systems, and that wasn't
agreed upon.

But I am now on an FC3 system, and here's the info:

$ cd /bin
$ ls -l sh
lrwxrwxrwx  1 root root 4 Jan  2 17:01 sh -> bash

The same is true for Debian. Is it so on *all* GNU/Linux systems?


Absolutely. At least, on all that I've seen...

It's a symlink just so that the admin can change it to whatever he wants. Some 
people prefer to have csh or ksh as default, for example. Bash is the 
standard, though. At least, de facto standard...

-- 
Shash

To know a thing well, know its limits. 
Only when pushed beyond its tolerances will true nature be seen.
--The Amtal Rule - Dune

Other related posts: