mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-02 22:54:54 +00:00
Update cheatsheets
This commit is contained in:
@@ -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}}`
|
||||
|
||||
@@ -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
17
tldr/linux/resize
Normal 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`
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user