Stand-alone shell
Stand-alone shell ( sash ) is a Unix shell designed for use in recovering from certain types of system failures and errors.[src] The built-in commands of sash have all libraries linked statically, so unlike most shells on Linux, the standard UNIX commands do not rely on external libraries.[src] For example, the copy command (cp) requires libc.so and ld-linux.so when built from GNU Core Utilities on Linux.[src] 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.[src] In earlier times, most critical commands (including shells) in /sbin or even /bin were statically linked for this purpose, whereas in /usr/sbin and /usr/bin you would find the more feature-rich versions that were dynamically linked.[src] This is not common anymore and as such, statically linked shells with built-in commands have become more important.[src] Sash has the following built-in commands: : ar , chattr , chgrp , chmod , chown , cmp , cp , dd , echo , ed , exec , grep , file , find , gunzip , gzip , kill , losetup , ln , ls , lsattr , mkdir , mknod , rmdir , sum , sync , tar , touch , umount , where The Sash shell has also been ported to work with Android in a terminal-interface.[src]
Stand-alone shell ( sash ) is a Unix shell designed for use in recovering from certain types of system failures and errors.[src] The built-in commands of sash have all libraries linked statically, so unlike most shells on Linux, the standard UNIX commands do not rely on external libraries.[src] For example, the copy command (cp) requires libc.so and ld-linux.so when built from GNU Core Utilities on Linux.[src] 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.[src] In earlier times, most critical commands (including shells) in /sbin or even /bin were statically linked for this purpose, whereas in /usr/sbin and /usr/bin you would find the more feature-rich versions that were dynamically linked.[src] This is not common anymore and as such, statically linked shells with built-in commands have become more important.[src] Sash has the following built-in commands: ar , chattr , chgrp , chmod , chown , cmp , cp , dd , echo , ed , exec , grep , file , find , gunzip , gzip , kill , losetup , ln , ls , lsattr , mkdir , mknod , rmdir , sum , sync , tar , touch , umount , where The Sash shell has also been ported to work with Android in a terminal-interface.[src] ==sash-plus-patches== sash-plus-patches is a collection of patches for sash.[src] The key features are the chroot , pivot root , and losetup commands.[src] However, these functions are available in newer versions of sash.[src] These functions provide interfaces to the respective Linux system calls.[src] They are especially useful when sash is used in an initial ramdisk ("initrd") environment.[src] 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".[src] Some Linux distributions, such as Debian and Slackware (via SlackBuilds.org), have this available.[src] ==See also== BusyBox Toybox Comparison of computer shells ==References== ==Sources== sash - Linux man page ==External links== sash homepage[src]
22 sentences · 22 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Stand-alone shell." encyclopegia.org, 2025, https://encyclopegia.org/wiki/stand-alone-shell. Accessed 25 November 2026.
Chicago
"Stand-alone shell." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/stand-alone-shell.
APA
encyclopegia.org. (2025). Stand-alone shell. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/stand-alone-shell
Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON