Delete Set public Set private Add tags Delete tags
  Add tag   Cancel
  Delete tag   Cancel
  • • DevOps notes •
  •  
  • AI
  • Tags
  • Login

Screen & Tmux/shaare/ONJlkA

  • linux
  • linux

Screen (Terminal Multiplexer)

  • Multi-terminal sessions in one window
  • Alt+A | → split vertical
  • Alt+A Shift+S → split horizontal
  • Alt+A Tab → switch windows
  • Alt+A C → create new session
  • screen -r → reconnect to detached session
  • screen -r [id] → recover session by ID

TMUX (Terminal Multiplexer)

  • Ctrl+B Shift+% → split window horizontally
  • Ctrl+B D → detach session
  • Ctrl+B Arrow Keys → move between panes
  • Ctrl+B Shift+" → split window vertically
  • tmux ls → list sessions
  • tmux a → resume last session
  • tmux new -s name → create named session
  • Ctrl+B C → new window
  • Ctrl+B N → switch to next window
  • tmux attach-session -t 0 → attach session ID 0
  • Ctrl+B , → rename window
  • tmux kill-session -t 0 → kill session ID 0

TMUX Advanced Commands

  • tmux new -s name → new named session
  • Ctrl+B C → new window
  • Ctrl+B N → switch to next window
  • tmux attach-session -t 0 → attach session 0
  • Ctrl+B , → rename window
  • tmux kill-session -t 0 → kill session 0
3 months ago Permalink
cluster icon
  • File Display Commands / Filters / Text Processing Input : File Display Commands cat → Show entire content cat -A → Show non-printable characters more → Paginate output less → Same as more but allows navigatio...
  • Crontab / at : Crontab Basics crontab -e → edit crontab crontab -l → list crontab entries crontab -r → remove crontab entries systemctl status crond → check crond s...
  • Shell Scripting Basics : First Line of Script #!/bin/bash → defines the shell interpreter Comments Use # for commenting Common Elements Commands: echo, cp, etc. Statement...
  • Navigating File System / Linux filetypes : ls -l → List pwd → Print working directory dr-xr-xr-x | directories -rw-r--r-- | file Linux File Types Symbol Type - Regular file d Dire...
  • User management : Essential Commands: useradd, groupadd, userdel, groupdel, usermod Modify 3 files: /etc/passwd, /etc/group, /etc/shadow Create User with Custom O...


(19)
Filter untagged links
Fold Fold all Expand Expand all Are you sure you want to delete this link? Are you sure you want to delete this tag? The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community