Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update screen commands in computing_tips.md #3

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions computing_tips.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## Running jobs in the background
* Running jobs in the background with `screen`. [Anyone add some links or texts?]
* `screen -S sessionname`, Creates a session named sessionname (sessionname is defined by yourself)
* `screen jupyter notebook`, Copy the link and open Jupyter Notebook on the browser (the same as `screen jupyter lab`)
* `Ctrl + a + d`, Temporarily leave the current session, throw the current screen session to the background for execution, and return to the state before entering the screen. At this time, in the screen session, the process running in each window continues to execute, even if the logout does not affect
* `screen -ls`, Display all current screen jobs
* `screen -r sessionname`, Recover off-line screen job
* `kill sessionnumber`, Exits the current screen window and ends the current screen window

## IDE: PyCharm, VS Code, and Jupyter lab

Expand Down