Commit bdc3fe73 authored by Sören Wacker's avatar Sören Wacker
Browse files

Point to vim because nano is not installed on DAIC

parent 5ea1dd4e
Loading
Loading
Loading
Loading
Loading
+4 −12
Original line number Diff line number Diff line
@@ -106,7 +106,7 @@ $ pwd
```

{{% alert title="Check your work" color="info" %}}
You should see project directories when listing `/tudelft.net/staff-umbrella`. Project storage is mounted on first access, so a project may not be listed until you `cd` into it by name. After `cd ~` and `pwd`, you should see your home directory path (e.g., `/home/netid01`).
Listing `/tudelft.net/staff-umbrella` prints the project directories of all of TU Delft, several thousand names. You can only enter the ones you have been granted access to. After `cd ~` and `pwd`, you should see your home directory path (e.g., `/home/netid01`).
{{% /alert %}}

## Part 2: Understanding DAIC storage
@@ -434,22 +434,14 @@ $ wc -l src/train.py

### Editing files

For quick edits, use `nano` (beginner-friendly):

```shell-session
$ nano src/train.py
```

- Type to insert text
- `Ctrl+O` to save
- `Ctrl+X` to exit

For more power, use `vim` (see our [Vim tutorial](/tutorials/vim/)):
The terminal editor installed on DAIC is `vim` (`nano` is not available):

```shell-session
$ vim src/train.py
```

Vim does not accept text until you press `i`, and it is quit with `Esc` followed by `:q!` (discard changes) or `:wq` (save). The [Vim tutorial](/tutorials/vim/) covers this in detail. For longer editing sessions you can also edit files on your own computer and copy them over, see [Data Transfer](/howto/data-transfer-quick/).

## Part 6: Finding things

As your project grows, you'll need to find files and search their contents.