Skip to content

Commit 614bedb

Browse files
authored
Merge branch 'main' into feature/add-mac-cleanup
2 parents ee402f0 + af63077 commit 614bedb

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed

pages/common/kate.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# kate
22

33
> KDE's advanced text editor.
4-
> More information: <https://kate-editor.org/>.
4+
> More information: <https://docs.kde.org/stable/en/kate/kate/fundamentals.html#starting-from-the-command-line>.
55
66
- Open specific files:
77

@@ -13,20 +13,20 @@
1313

1414
- Create a new editor instance even if one is already open:
1515

16-
`kate --new`
16+
`kate {{[-n|--new]}}`
1717

1818
- Open a file with the cursor at the specific line:
1919

20-
`kate --line {{line_number}} {{path/to/file}}`
20+
`kate {{[-l|--line]}} {{line_number}} {{path/to/file}}`
2121

2222
- Open a file with the cursor at the specific line and column:
2323

24-
`kate --line {{line_number}} --column {{column_number}} {{path/to/file}}`
24+
`kate {{[-l|--line]}} {{line_number}} {{[-c|--column]}} {{column_number}} {{path/to/file}}`
2525

2626
- Create a file from `stdin`:
2727

28-
`cat {{path/to/file}} | kate --stdin`
28+
`cat {{path/to/file}} | kate {{[-i|--stdin]}}`
2929

3030
- Display help:
3131

32-
`kate --help`
32+
`kate {{[-h|--help]}}`

pages/linux/genfstab.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,24 @@
11
# genfstab
22

3-
> Arch Linux install script to generate output suitable for addition to an fstab file.
4-
> More information: <https://manned.org/genfstab.8>.
3+
> Generate output suitable for addition to the `/etc/fstab` file.
4+
> More information: <https://manned.org/genfstab>.
55
6-
- Display an fstab compatible output based on a volume label:
6+
- Generate the `/etc/fstab` file using volume UUIDs during an Arch Linux installation (requires root permissions):
7+
8+
`genfstab -U {{/mnt}} >> {{/mnt/etc/fstab}}`
9+
10+
- Display fstab-compatible output based on volume labels:
711

812
`genfstab -L {{path/to/mount_point}}`
913

10-
- Display an fstab compatible output based on a volume UUID:
14+
- Display fstab-compatible output based on volume UUIDs:
1115

1216
`genfstab -U {{path/to/mount_point}}`
1317

14-
- A usual way to generate an fstab file, requires root permissions:
18+
- Display fstab-compatible output based on the specified identifier:
1519

16-
`genfstab -U {{/mnt}} >> {{/mnt/etc/fstab}}`
20+
`genfstab -t {{LABEL|UUID|PARTLABEL|PARTUUID}}`
1721

18-
- Append a volume into an fstab file to mount it automatically:
22+
- Append a volume into the `/etc/fstab` file to mount it automatically:
1923

2024
`genfstab -U {{path/to/mount_point}} | sudo tee -a /etc/fstab`

0 commit comments

Comments
 (0)