1
0
mirror of https://github.com/tiyn/wiki.git synced 2026-02-22 10:24:47 +01:00

Structure: creating linux folder for linux specific programs

This commit is contained in:
TiynGER
2020-10-26 08:13:12 +01:00
parent e7e8f69b37
commit fdad266131
10 changed files with 1 additions and 3 deletions

14
wiki/linux/shells.md Normal file
View File

@@ -0,0 +1,14 @@
# Shells
## Change /bin/sh
### Arch-Linux
The Shell in Arch-Linux is made up by a POSIX compliant mode of bash.
Problem with that is the speed.
A shell like dash would be much faster.
This is a guide on how to persistently change the symlink /bin/sh from bash to dash.
- `yay -S dash` - Install dash
- `sudo ln -sfT /bin/dash /bin/sh` - link /bin/sh to dash
- `sudo vim /usr/share/libalpm/hooks/bash-update.hook` - setup a hook to avoid bash resetting the symlink