sudo blocks aliases
Vram
lamsokvr at xprt.net
Fri Dec 30 07:04:05 UTC 2005
On Fri, 2005-12-30 at 19:31 +1300, Tim Frost wrote:
> On Fri, 2005-12-30 at 17:07 +1100, Arlen Christian Mart Cuss wrote:
> > The same. But, when I `man dash', I get the *man page* for `sh'. *sh* is
> > a link to bash.
>
> But the man page is the *BSD* sh man page:
> SH(1) BSD General Commands Manual SH(1)
>
> NAME
> sh - command interpreter (shell)
>
>
> By comparison, both "man sh" and "man bash" get the man page for GNU
> Bourne-Again SHell:
> BASH(1) BASH(1)
>
> NAME
> bash - GNU Bourne-Again SHell
>
> tim at marvin:~$ ls -l /usr/share/man/*/*sh.*.gz
> -rw-r--r-- 1 root root 69525 2005-10-06 01:16 /usr/share/man/man1/bash.1.gz
> -rw-r--r-- 1 root root 713 2005-08-23 07:49 /usr/share/man/man1/bsh.1.gz
> -rw-r--r-- 1 root root 1500 2005-10-12 05:14 /usr/share/man/man1/chsh.1.gz
> -rw-r--r-- 1 root root 21078 2005-05-12 21:26 /usr/share/man/man1/dash.1.gz
> lrwxrwxrwx 1 root root 9 2005-12-12 18:47 /usr/share/man/man1/sh.1.gz -> bash.1.gz
>
> So there is a distinction.
> >
> > celtic at xyrias:~$ ls -l `which sh`
> > lrwxrwxrwx 1 root root 4 2005-12-02 04:13 /bin/sh -> bash
> > celtic at xyrias:~$
>
>
> Tim
>
>
I think FreeBSD is the ONLY one to run sh...
Someone correct me if I am wrong...
Vram
>
More information about the ubuntu-users
mailing list