Update cheatsheets

This commit is contained in:
ivuorinen
2025-08-02 00:21:20 +00:00
parent 65a58b1682
commit ff81eb885b
6 changed files with 54 additions and 13 deletions

View File

@@ -17,26 +17,26 @@ source: https://github.com/tldr-pages/tldr.git
`sudo fdisk {{/dev/sdX}}`
- Once partitioning a disk, create a partition:
- Create a [n]ew partition:
`<n>`
- Once partitioning a disk, select a partition to delete:
- Select a partition to [d]elete:
`<d>`
- Once partitioning a disk, view the partition table:
- View the [p]artition table:
`<p>`
- Once partitioning a disk, write the changes made:
- [w]rite the changes made:
`<w>`
- Once partitioning a disk, discard the changes made:
- Discard the changes made and [q]uit:
`<q>`
- Once partitioning a disk, open a help menu:
- Open a help [m]enu:
`<m>`

View File

@@ -18,4 +18,4 @@ source: https://github.com/tldr-pages/tldr.git
- Display help:
`grub-mkconfig --help`
`grub-mkconfig {{[-h|--help]}}`

View File

@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
- Connect to the nearest NordVPN server:
`nordvpn connect`
`nordvpn {{[c|connect]}}`
- List all available countries:
@@ -26,12 +26,12 @@ source: https://github.com/tldr-pages/tldr.git
- Connect to a NordVPN server in a specific country:
`nordvpn connect {{Germany}}`
`nordvpn {{[c|connect]}} {{Germany}}`
- Connect to a NordVPN server in a specific country and city:
`nordvpn connect {{Germany}} {{Berlin}}`
`nordvpn {{[c|connect]}} {{Germany}} {{Berlin}}`
- Set autoconnect option:
`nordvpn set autoconnect on`
`nordvpn {{[s|set]}} autoconnect on`

41
tldr/linux/updatectl Normal file
View File

@@ -0,0 +1,41 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# updatectl
> System update utility.
> More information: <https://www.freedesktop.org/software/systemd/man/257/updatectl.html>.
- Apply an update:
`updatectl update {{target}}`
- Apply update and then reboot system:
`updatectl --reboot update {{target}}`
- Show data about the target and its versions:
`updatectl list {{target}}`
- Return local data about a target without fetching from the network:
`updatectl --offline list {{target}}`
- Suppress data headers for returned information:
`updatectl --no-legend list {{target}}`
- Check to see if a target has any available updates:
`updatectl check {{target}}`
- Clean up old versions of a specified target:
`updatectl vacuum {{target}}`
- Display help:
`updatectl {{[-h|--help]}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# mysql
> The MySQL tool.
> More information: <https://www.mysql.com/>.
> More information: <https://manned.org/mysql>.
- Connect to a database:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pdftocairo
> Convert PDF files to PNG/JPEG/TIFF/PDF/PS/EPS/SVG using cairo.
> More information: <https://poppler.freedesktop.org>.
> More information: <https://manned.org/pdftocairo>.
- Convert a PDF file to JPEG: