Stand-alone shell

Stand-alone shell

Infobox_Software
name = sash

caption =


developer = David Bell
latest_release_version = v3.7
operating_system = Unix-like
genre = Embedded
license =
website = http://members.tip.net.au/~dbell/

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

ash-plus-patches

"sash-plus-patches" is a collection of patches for the well known standalone shell, sash. The key features are the -chroot, -pivot_root, and -losetup commands. These functions provide interfaces to the respective Linux system calls. They are especially useful when sash is used in a initial ramdisk ("initrd") environment. In addition, simple shell variable expansion support has been added. e.g. the variable "$(VAR)" is replaced by the content of the environment variable "VAR".

Some Linux distros, such as Debian and Slackware (via SlackBuilds.org) have this available.

ee also

*BusyBox
*Comparison of computer shells

References

* [http://manpages.unixforum.co.uk/man-pages/linux/suse-linux-10.1/1/sash-man-page.html 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)

External links

* [http://members.tip.net.au/~dbell/ sash homepage]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • Ghost in the Shell: Stand Alone Complex — 攻殻機動隊 STAND ALONE COMPLEX (Kōkaku Kidōtai: Stand Alone Complex) Anime Ghost in the Shell: Stand Alone Complex Dirección Kenji Kamiyama Estudio Production I.G …   Wikipedia Español

  • Music of Ghost in the Shell: Stand Alone Complex — The music for the anime series Ghost in the Shell: Stand Alone Complex was primarily composed by Yoko Kanno and produced by Victor Entertainment. Soundtracks were also produced for the two OVA films, The Laughing Man and Individual Eleven, and… …   Wikipedia

  • Ghost In The Shell: Stand Alone Complex — 攻殻機動隊 STAND ALONE COMPLEX (Kōkaku Kidōtai: Stand Alone Complex) Type Seinen Genre drame, aventure, science fiction, cyberpunk, Postcyberpunk, action, policier Anime …   Wikipédia en Français

  • Ghost in the Shell: Stand Alone Complex 2nd GIG — Ghost in the Shell: Stand Alone Complex Ghost in the Shell: Stand Alone Complex 攻殻機動隊 STAND ALONE COMPLEX (Kōkaku Kidōtai: Stand Alone Complex) Type Seinen Genre drame, aventure, science fiction, cyberpunk, Postcyberpunk, action, policier Anime …   Wikipédia en Français

  • Ghost in the Shell - Stand alone complex — Ghost in the Shell: Stand Alone Complex Ghost in the Shell: Stand Alone Complex 攻殻機動隊 STAND ALONE COMPLEX (Kōkaku Kidōtai: Stand Alone Complex) Type Seinen Genre drame, aventure, science fiction, cyberpunk, Postcyberpunk, action, policier Anime …   Wikipédia en Français

  • Ghost in the Shell - Stand alone complex - 2nd gig — Ghost in the Shell: Stand Alone Complex Ghost in the Shell: Stand Alone Complex 攻殻機動隊 STAND ALONE COMPLEX (Kōkaku Kidōtai: Stand Alone Complex) Type Seinen Genre drame, aventure, science fiction, cyberpunk, Postcyberpunk, action, policier Anime …   Wikipédia en Français

  • Ghost in the Shell : Stand Alone Complex — Ghost in the Shell: Stand Alone Complex Ghost in the Shell: Stand Alone Complex 攻殻機動隊 STAND ALONE COMPLEX (Kōkaku Kidōtai: Stand Alone Complex) Type Seinen Genre drame, aventure, science fiction, cyberpunk, Postcyberpunk, action, policier Anime …   Wikipédia en Français

  • Ghost in the shell: stand alone complex — 攻殻機動隊 STAND ALONE COMPLEX (Kōkaku Kidōtai: Stand Alone Complex) Type Seinen Genre drame, aventure, science fiction, cyberpunk, Postcyberpunk, action, policier Anime …   Wikipédia en Français

  • Ghost in the Shell: Stand Alone Complex — 攻殻機動隊 STAND ALONE COMPLEX (Kōkaku Kidōtai: Stand Alone Complex) Type Seinen Genre drame, aventure, science fiction, cyberpunk, Postcyberpunk, action, policier, film noir Anime japonais …   Wikipédia en Français

  • List of Ghost in the Shell: Stand Alone Complex episodes — The collection box released in North America by Manga Entertainment. Ghost in the Shell: Stand Alone Complex (攻殻機動隊 STAND ALONE COMPLEX, Kōkaku Kidōtai Sutando Arōn Konpurekkusu …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”