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
1 month ago Permalink
cluster icon
  • Disk usage, logging, shutdown, hostname : Disk and Memory Info df → disk partition info df -h → human-readable format du → size of file/directory free → memory info cat /proc/cpuinfo → CPU in...
  • Systemctl, process management : Basic System Info Commands uptime → time, uptime, users, load average hostname → current hostname ip hostname → show IP & hostname uname -a → current...
  • Vi Editor : Vi Editor Commands i → insert mode I → insert at line start ESC → escape to command mode R → replace mode x → delete character dd → delete line yy → ...
  • SED: Stream Editor for Text Manipulation : Basic Replace Syntax: sed -i 's/KENNY/LENNY/g' filename Substitute all occurrences of "KENNY" with "LENNY" Delete Line Containing String: s...
  • Linux File Links and Permissions : Links Soft Link (Symbolic Link) ln -s Link will be removed if the original file is removed or renamed. Hard Link ln Deleting, renaming, or moving t...


(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