User Tools

Site Tools


docs:tips_n_tricks:screen.html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
docs:tips_n_tricks:screen.html [18.06.2023 11:47 CEST] – [sample .screenrc file] peterdocs:tips_n_tricks:screen.html [16.03.2024 00:38 CET] (current) – [Logging and reading logs] peter
Line 162: Line 162:
 __References__: __References__:
   * [[https://superuser.com/questions/236930/how-to-clean-up-output-of-linux-script-command|How to clean up output of linux 'script' command]]   * [[https://superuser.com/questions/236930/how-to-clean-up-output-of-linux-script-command|How to clean up output of linux 'script' command]]
 +===== Starting root shell in new screen with non-default shell =====
 +
 +  screen -t root sudo ZDOTDIR=$HOME -i /bin/zsh -
 +
 +  screen -t root sudo su - -c "ZDOTDIR=$HOME exec zsh"
docs/tips_n_tricks/screen.html.txt · Last modified: 16.03.2024 00:38 CET by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki