mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
Updated the reason for the /bin/sh symlink
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@78 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
4d954a4387
commit
0154b8b6a7
@ -35,11 +35,10 @@ is becoming obsolete.
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
<userinput>ln -s bash sh:</userinput> This command creates the sh
|
<userinput>ln -s bash sh:</userinput> This command creates the sh
|
||||||
symlink that points to bash. Most scripts run themselves via 'sh'; sh
|
symlink that points to bash. Most scripts run themselves via 'sh'
|
||||||
being a symlink to the default system shell. Because programs and
|
(invoked by the #!/bin/sh as the first line in the scripts) which
|
||||||
scripts don't know what shell you use by default (could be bash, ksh,
|
invokes a special bash mode. Bash will then behave (as closely as
|
||||||
korn, tch, csh and others) they use the common symlink sh which, if the
|
possible) as the original Bourne shell.
|
||||||
system is properly setup, always points to the system's default shell.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
Loading…
Reference in New Issue
Block a user