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 week ago Permalink
cluster icon
  • Bash : First Line of Script #!/bin/bash → defines the shell interpreter Comments Use # for commenting Common Elements Commands: echo, cp, etc. Statement...
  • Basic File Commands / File Search Commands : touch one two three → Create 3 files mkdir folder → Make directory mv -R / cp -R → Move or copy folder including subfolders find . -name "geor...
  • 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...
  • 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...
  • Linux filesystem : /boot -> Grub.cfg /root -> home of root /dev -> system device (mouse, keyboard) /etc -> configuration files /bin -> /usr/bin -> everyday user commands...


(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