mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-25 11:52:34 +00:00
Update cheatsheets
This commit is contained in:
@@ -20,7 +20,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`sudo btrfs restore --path-regex {{regex}} -c {{path/to/btrfs_device}} {{path/to/target_directory}}`
|
||||
|
||||
- Restore files from a btrfs filesystem using a specific root tree `bytenr` (see `btrfs-find-root`):
|
||||
- Restore files from a btrfs filesystem using a specific root [t]ree `bytenr` (see `btrfs-find-root`):
|
||||
|
||||
`sudo btrfs restore -t {{bytenr}} {{path/to/btrfs_device}} {{path/to/target_directory}}`
|
||||
|
||||
|
||||
17
tldr/linux/caligula
Normal file
17
tldr/linux/caligula
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# caligula
|
||||
|
||||
> A user-friendly, lightweight TUI for disk imaging.
|
||||
> More information: <https://github.com/ifd3f/caligula>.
|
||||
|
||||
- Flash an ISO to a drive:
|
||||
|
||||
`caligula burn {{path/to/image.iso}}`
|
||||
|
||||
- Flash an ISO to a drive without entering the hash interactively:
|
||||
|
||||
`caligula burn {{path/to/image.iso}} {{[s|--hash]}} {{hash}}`
|
||||
@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- List password information for the user:
|
||||
|
||||
`chage {{[-l|--list]]} {{username}}`
|
||||
`chage {{[-l|--list]}} {{username}}`
|
||||
|
||||
- Enable password expiration in 10 days:
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- List partitions:
|
||||
|
||||
`sudo fdisk -l`
|
||||
`sudo fdisk {{[-l|--list]}}`
|
||||
|
||||
- Start the partition manipulator:
|
||||
|
||||
|
||||
@@ -13,9 +13,9 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`swww img {{path/to/image}}`
|
||||
|
||||
- Set wallpaper to specified [o]utputs:
|
||||
- Set wallpaper to specified outputs:
|
||||
|
||||
`swww img -o {{output1,output2,...}} {{path/to/image}}`
|
||||
`swww img {{[-o|--outputs]}} {{output1,output2,...}} {{path/to/image}}`
|
||||
|
||||
- Restore last wallpaper:
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`sudo urpmi.removemedia {{medium}}`
|
||||
|
||||
- Remove all media:
|
||||
- Remove [a]ll media:
|
||||
|
||||
`sudo urpmi.removemedia -a`
|
||||
|
||||
|
||||
25
tldr/linux/znc
Normal file
25
tldr/linux/znc
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# znc
|
||||
|
||||
> IRC bouncer.
|
||||
> More information: <https://manned.org/znc>.
|
||||
|
||||
- Run the initial setup:
|
||||
|
||||
`znc {{[-c|--makeconf]}}`
|
||||
|
||||
- Start the IRC bouncer daemon:
|
||||
|
||||
`znc`
|
||||
|
||||
- Setup `znc` for systemd:
|
||||
|
||||
`sudo {{[-u|--user]}} znc znc {{[-c|--makeconf]}} {{[-d|--datadir]}} /var/lib/znc`
|
||||
|
||||
- Enable `znc` to start on boot and start it now:
|
||||
|
||||
`systemctl enable znc --now`
|
||||
Reference in New Issue
Block a user