Less known but useful Commmands

Redo last command but as root

sudo !!

Open an Editor, write a bash command

(and execute in shell)

ctrl+x+e

Create superfast Ramdisk

mkdir -p /mnt/ramm
mount -t tmpfs tmpfs /mnt/ram -o size=8192M

fix a really long command

(that you messed up)

fc

quickly create folders

mkdir -p folder/{sub1,sub2}/{sub1,sub2,sub3}

exit terminal but leave all processes running

disown -a && exit

Revision #2
Created 18 November 2021 22:35:00 by tinfoil-hat
Updated 19 November 2021 02:08:14 by tinfoil-hat