Stand-alone shell

From Wikipedia, the free encyclopedia

Screenshot of the sash shell
Screenshot of the sash shell

Stand-alone shell (sash) is a Unix shell designed for use in recovering from certain types of system failures.

The built in commands of sash have all libraries linked statically, so unlike most shells, the standard UNIX commands do not rely on external libraries. For example the copy command (cp) requires linux-gate.so, libc.so, and ld-linux.so when built from GNU coreutils on Linux. If any of these libraries get corrupted, the coreutils cp command would not work, however in sash, the built-in command, cp, would be unaffected.

Sash has the following built-in commands:

-ar, -chattr, -chgrp, -chmod, -chown, -cmp, -cp, -dd, -echo, -ed, -grep, -file, -find, -gunzip, -gzip, -kill, -losetup, -ln, -ls, -lsattr, -mkdir, -mknod, -rmdir, -sum, -sync, -tar, -touch, -umount, -where

[edit] See also

[edit] References

  • sash - Linux man page
  • $ ldd /bin/cp
    linux-gate.so.1 => (0xffffe000)
    libc.so.6 => /lib/libc.so.6 (0xb7eb2000)
    /lib/ld-linux.so.2 (0xb7fe3000)

[edit] External links