Skip to content
Snippets Groups Projects
Commit 2b81ae81 authored by Lukas Kluft's avatar Lukas Kluft
Browse files

Apply 3 suggestion(s) to 1 file(s)


Co-authored-by: default avatarFlorian Ziemen <ziemen@dkrz.de>
parent f15d554c
No related branches found
No related tags found
1 merge request!80Update "command line" lecture
Pipeline #102235 passed
...@@ -31,7 +31,7 @@ subtitle: "Controlling local and remote machines" ...@@ -31,7 +31,7 @@ subtitle: "Controlling local and remote machines"
```{.sh} ```{.sh}
vim test.txt vim test.txt
``` ```
* Basic usage: hit {{< kbd i >}} to activate _insert_ mode. Type something and hit {{< kbd Esc >}} to fall back into _normal_ mode. Save and close the file using {{< kbd :wq >}}. * Basic `vim` usage: hit {{< kbd i >}} to activate _insert_ mode. Type something and hit {{< kbd Esc >}} to fall back into _normal_ mode. Save and close the file using {{< kbd :wq >}}.
## Scripts ## Scripts
...@@ -90,7 +90,7 @@ Different ways to work on a cluster depending on the task: ...@@ -90,7 +90,7 @@ Different ways to work on a cluster depending on the task:
* Housekeeping/compiling (login nodes) * Housekeeping/compiling (login nodes)
* Interactive sessions (compute nodes, `salloc`) * Interactive sessions (compute nodes, `salloc`)
* Batch scriptsscripts (compute nodes, `sbatch`) * Batch scripts (compute nodes, `sbatch`)
* External services (e.g. _Jupyterhub_) * External services (e.g. _Jupyterhub_)
## SSH ## SSH
...@@ -217,7 +217,7 @@ Different ways to work on a cluster depending on the task: ...@@ -217,7 +217,7 @@ Different ways to work on a cluster depending on the task:
forward graphical user interfaces (GUIs) from the server forward graphical user interfaces (GUIs) from the server
* Install an X-server on your local machine (e.g. XQuartz) * Install an X-server on your local machine (e.g. XQuartz)
* Pass the `-X` option to your `ssh` command^[or check the SSH config option] * Pass the `-X`^[Mac users might want to use `-Y`, or MacOS will quit the forwarding after about 20 min.] option to your `ssh` command^[or check the SSH config option]
```{raw} ```{raw}
ssh -X levante ssh -X levante
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment