Dash
dash is the Debian Almquist shell: [[Article description::a small, fast, and POSIX compliant shell.]] It is well-suited for startup scripts, and used on Debian (and derivative distributions) as /bin/sh replacement. As some shell scripts may have bashisms in them, it is not guaranteed to work out-of-the-box on Gentoo as /bin/sh replacement.
Installation
USE flags
USE flags for app-shells/dash Debian Almquist Shell
Emerge
root #emerge --ask app-shells/dashConfiguration
Make dash the default system shell:
root #cd /bin
root #ln -sf dash sh
root #echo /bin/dash >>/etc/shells
root #usermod -s /bin/dash root
Use dash as current shell:
user $chsh -s /bin/dashSee also
- Shell — a command-line interpreter that offers a text-based interface to users.
This article is issued from Gentoo. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.