====== Linux Shell Notes ====== A brain dump page for things I keep forgetting. ===== Shell Environment ===== * PATH * editor ~/.profile * export PATH=$PATH:[new directories, colon-separated] * source ~/.profile ===== Saya Malas (I'm Lazy) ===== * Execute the last command * !! * !-1 * ^p ===== Terminal Multiplexers Escape ===== * tmux: ^b + * n: next * p: previous * c: create * q: quit (detach) * docker: ^p + * (firstly, don't even use attach if you just need to watch. just use logs -f so you can cleanly exit.) * q: quit (detach) * proxmox -> pct console: ^a * q: quit (detach)