Skip to content
Merged
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
22 changes: 11 additions & 11 deletions docs/books/admin_guide/03-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -688,9 +688,9 @@ rm [-f] [-r] file [file] [...]

| Options | Information |
| ------- | ---------------------------------------- |
| `-f` | Do not ask for confirmation of deletion. |
| `-i` | Requires confirmation of deletion. |
| `-r` | Recursively deletes subdirectories. |
| `-f` | Do not ask whether to delete. |
| `-i` | Ask whether to delete. |
| `-r` | Delete a directory and recursively delete its subdirectories. |

!!! Note

Expand Down Expand Up @@ -737,7 +737,7 @@ A few concrete cases will help you understand the difficulties that can arise:
$ mv /home/rockstar/file1 /home/rockstar/file2
```

Renames `file1` to `file2`, if `file2` already exists, it will be replaced by `file1`.
Renames `file1` to `file2`. If `file2` already exists, replace the contents of the file with `file1`.

```bash
$ mv /home/rockstar/file1 /home/rockstar/file2 /tmp
Expand Down Expand Up @@ -863,14 +863,14 @@ The commands specific to `less` are:

| Command | Action |
| ----------------- | ----------------------------------------------- |
| `h` | Help. |
| `Arrows` | Move up, down a line, or to the right or left. |
| `Enter` | Move down one line. |
| `Space` | Move down one page. |
| `PgUp` and `PgDn` | Move up or down one page. |
| `Begin` and `End` | Move to the beginning or end of a file. |
| <kbd>h</kbd> | Help. |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @jimcat8, @antoine, etc... I don't think that the commands are going to show up in the table at all. The reason is that they are inside another formatting element. I think what I'll do is pull this down and take a look, but my guess is that they won't show.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was incorrect. It does work as you have it changed.

| <kbd>↑</kbd><kbd>↓</kbd><kbd>→</kbd><kbd>←</kbd> | Move up, down a line, or to the right or left. |
| <kbd>Enter</kbd> | Move down one line. |
| <kbd>Space</kbd> | Move down one page. |
| <kbd>PgUp</kbd> and <kbd>PgDn</kbd> | Move up or down one page. |
| <kbd>gg</kbd> and <kbd>G</kbd> | Move to the first and last pages |
| `/text` | Search for text. |
| `q` | Quit the `less` command. |
| <kbd>q</kbd> | Quit the `less` command. |

### `cat` command

Expand Down