Last active
April 30, 2019 13:41
-
-
Save supriya-gdptl/db321613b87a5434f27c93e0c55cb91e to your computer and use it in GitHub Desktop.
create screen session with custom filename
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
screen -dmS test_screen_name | |
screen -S test_screen_name -X logfile name_of_logfile.txt | |
screen -S test_screen_name -X log | |
screen -r test_screen_name | |
[source: https://superuser.com/questions/766903/how-to-set-the-gnu-screen-log-file-name-non-interactively] | |
# To find the owner name of process | |
ps -u -p <pid> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment