Skip to content

Instantly share code, notes, and snippets.

@supriya-gdptl
Last active April 10, 2018 16:11
Show Gist options
  • Save supriya-gdptl/28f34b8ba52e3bd50b39839b9061d566 to your computer and use it in GitHub Desktop.
Save supriya-gdptl/28f34b8ba52e3bd50b39839b9061d566 to your computer and use it in GitHub Desktop.
terminal commands
ps u pid_number ->To see the owner of process 'pid_number'
screen -S [any_name] ->put code for running
Ctrl A D -> to detach the screen
screen -r [same_above_name] -> to resume screen
go to screen and type exit -> to terminate the screen
OR
type Ctrl A K inside the screen to terminate it
to save entire session with scrollback buffer
ctrl A : hardcopy -h filename.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment