Site Tools


Sidebar

Work

Projects Travel Singapore Socials (External)

projects:homelab:linux_shell_notes

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)
projects/homelab/linux_shell_notes.txt · Last modified: 2024/09/29 04:43 by Andrew Yong