From 2b81ae816632933db5abc0b6fb2307b1f02d1f71 Mon Sep 17 00:00:00 2001 From: Lukas Kluft <lukas.kluft@mpimet.mpg.de> Date: Wed, 2 Apr 2025 14:36:24 +0000 Subject: [PATCH] Apply 3 suggestion(s) to 1 file(s) Co-authored-by: Florian Ziemen <ziemen@dkrz.de> --- lectures/command-line/slides.qmd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lectures/command-line/slides.qmd b/lectures/command-line/slides.qmd index d6adf18..e2a815a 100644 --- a/lectures/command-line/slides.qmd +++ b/lectures/command-line/slides.qmd @@ -31,7 +31,7 @@ subtitle: "Controlling local and remote machines" ```{.sh} 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 @@ -90,7 +90,7 @@ Different ways to work on a cluster depending on the task: * Housekeeping/compiling (login nodes) * Interactive sessions (compute nodes, `salloc`) -* Batch scriptsscripts (compute nodes, `sbatch`) +* Batch scripts (compute nodes, `sbatch`) * External services (e.g. _Jupyterhub_) ## SSH @@ -217,7 +217,7 @@ Different ways to work on a cluster depending on the task: forward graphical user interfaces (GUIs) from the server * 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} ssh -X levante ``` -- GitLab