Advertisement
lcatania

Untitled

Feb 23rd, 2019
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.10 KB | None | 0 0
  1. Use: screen [-opts] [cmd [args]]
  2.  or: screen -r [host.tty]
  3.  
  4. Options:
  5. -4            Resolve hostnames only to IPv4 addresses.
  6. -6            Resolve hostnames only to IPv6 addresses.
  7. -a            Force all capabilities into each window's termcap.
  8. -A -[r|R]     Adapt all windows to the new display width & height.
  9. -c file       Read configuration file instead of '.screenrc'.
  10. -d (-r)       Detach the elsewhere running screen (and reattach here).
  11. -dmS name     Start as daemon: Screen session in detached mode.
  12. -D (-r)       Detach and logout remote (and reattach here).
  13. -D -RR        Do whatever is needed to get a screen session.
  14. -e xy         Change command characters.
  15. -f            Flow control on, -fn = off, -fa = auto.
  16. -h lines      Set the size of the scrollback history buffer.
  17. -i            Interrupt output sooner when flow control is on.
  18. -l            Login mode on (update /var/run/utmp), -ln = off.
  19. -ls [match]   or
  20. -list         Do nothing, just list our SockDir [on possible matches].
  21. -L            Turn on output logging.
  22. -Logfile file Set logfile name.
  23. -m            ignore $STY variable, do create a new screen session.
  24. -O            Choose optimal output rather than exact vt100 emulation.
  25. -p window     Preselect the named window if it exists.
  26. -q            Quiet startup. Exits with non-zero return code if unsuccessful.
  27. -Q            Commands will send the response to the stdout of the querying process.
  28. -r [session]  Reattach to a detached screen process.
  29. -R            Reattach if possible, otherwise start a new session.
  30. -s shell      Shell to execute rather than $SHELL.
  31. -S sockname   Name this session <pid>.sockname instead of <pid>.<tty>.<host>.
  32. -t title      Set title. (window's name).
  33. -T term       Use term as $TERM for windows, rather than "screen".
  34. -U            Tell screen to use UTF-8 encoding.
  35. -v            Print "Screen version 4.06.02 (GNU) 23-Oct-17".
  36. -wipe [match] Do nothing, just clean up SockDir [on possible matches].
  37. -x            Attach to a not detached screen. (Multi display mode).
  38. -X            Execute <cmd> as a screen command in the specified session.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement