Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-11 00:18:27 +00:00
parent dc654e9ad5
commit 4ed84edbe1
9 changed files with 96 additions and 9 deletions

View File

@@ -10,4 +10,8 @@ source: https://github.com/tldr-pages/tldr.git
- Play a MIDI file:
`fluidsynth --audio-driver={{pipewire|pulseaudio}} {{path/to/soundfont.sf2}} {{path/to/file.midi}}`
`fluidsynth {{path/to/soundfont.sf2}} {{path/to/file.midi}}`
- Specify the audio driver:
`fluidsynth {{[-a|--audio-driver]}} {{pipewire|pulseaudio}} {{path/to/soundfont.sf2}} {{path/to/file.midi}}`

View File

@@ -11,11 +11,11 @@ source: https://github.com/tldr-pages/tldr.git
- Commit changes to persistent storage (only files in `/etc` by default):
`lbu {{ci|commit}}`
`lbu {{[ci|commit]}}`
- List files that would be saved using `commit`:
`lbu {{st|status}}`
`lbu {{[st|status]}}`
- Display changes in tracked files that would be saved using `commit`:
@@ -23,19 +23,19 @@ source: https://github.com/tldr-pages/tldr.git
- Include a specific file or directory in the `apk` overlay:
`lbu {{add|inc|include}} {{path/to/file_or_directory}}`
`lbu {{[inc|include]}} {{path/to/file_or_directory}}`
- Exclude a specific file or directory in `/etc` from the `apk` overlay:
`lbu {{ex|exclude|delete}} {{path/to/file_or_directory}}`
`lbu {{[ex|exclude]}} {{path/to/file_or_directory}}`
- Display the list of manually included/excluded files:
`lbu {{inc|include|ex|exclude}} -l`
`lbu {{include|exclude}} -l`
- List backups (previously created overlays):
`lbu {{lb|list-backup}}`
`lbu {{[lb|list-backup]}}`
- Revert to a backup overlay:

17
tldr/linux/resize Normal file
View File

@@ -0,0 +1,17 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# resize
> Resize terminal size to the window size.
> More information: <https://manned.org/resize>.
- Resize the terminal:
`resize`
- Print terminal size:
`resize -s`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# uname
> Uname prints information about the machine and operating system it is run on.
> Print details about the current machine and the operating system running on it.
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/uname-invocation.html>.
- Print all information: