mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
Update cheatsheets
This commit is contained in:
4
tldr/feh
4
tldr/feh
@@ -16,6 +16,10 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`feh {{[-r|--recursive]}} {{path/to/images}}`
|
||||
|
||||
- View images and display the file name at the top-left of the images:
|
||||
|
||||
`feh {{[-d|--draw-filename]}} {{path/to/images}}`
|
||||
|
||||
- View images without window borders:
|
||||
|
||||
`feh {{[-x|--borderless]}} {{path/to/images}}`
|
||||
|
||||
4
tldr/fzf
4
tldr/fzf
@@ -29,6 +29,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`fzf {{[-q|--query]}} "^core go$ | rb$ | py$"`
|
||||
|
||||
- Start `fzf` on entries that not match `pyc` and match exactly `travis`:
|
||||
- Start `fzf` on entries that do not match `pyc` and contain `travis`:
|
||||
|
||||
`fzf {{[-q|--query]}} "\!pyc 'travis'"`
|
||||
`fzf {{[-q|--query]}} '!pyc travis'`
|
||||
|
||||
@@ -15,3 +15,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
- Reconfigure console font setup:
|
||||
|
||||
`dpkg-reconfigure console-setup`
|
||||
|
||||
- Reconfigure the timezone:
|
||||
|
||||
`dpkg-reconfigure tzdata`
|
||||
|
||||
29
tldr/linux/impala
Normal file
29
tldr/linux/impala
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# impala
|
||||
|
||||
> Manage WiFi networks through a TUI.
|
||||
> More information: <https://github.com/pythops/impala>.
|
||||
|
||||
- Launch `impala` in station mode:
|
||||
|
||||
`impala`
|
||||
|
||||
- Launch `impala` in Access Point mode:
|
||||
|
||||
`impala {{[-m|--mode]}} ap`
|
||||
|
||||
- Switch between different sections:
|
||||
|
||||
`{{<Tab>|<Shift Tab>}}`
|
||||
|
||||
- Select a network to connect to:
|
||||
|
||||
`<Space>`
|
||||
|
||||
- Display hotkeys:
|
||||
|
||||
`<?>`
|
||||
@@ -38,4 +38,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Display a customized summary using a comma-separated list of columns:
|
||||
|
||||
`lsblk {{[-o|--output]}} {{NAME,SERIAL,MODEL,TRAN,TYPE,SIZE,FSTYPE,MOUNTPOINT,...}}`
|
||||
`lsblk {{[-o|--output]}} {{NAME,ROTA,SERIAL,MODEL,TRAN,TYPE,SIZE,FSTYPE,MOUNTPOINT,...}}`
|
||||
|
||||
@@ -12,22 +12,22 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`lspci`
|
||||
|
||||
- Display additional information (Note: the `-v` flag can be repeated to increase verbosity):
|
||||
- Display [v]erbose information (Note: the `-v` flag can be repeated to increase verbosity):
|
||||
|
||||
`lspci -v`
|
||||
|
||||
- Display drivers and modules handling each device:
|
||||
- Display [k]ernel drivers and modules handling each device:
|
||||
|
||||
`lspci -k`
|
||||
|
||||
- Show a specific device:
|
||||
- [s]elect a specific device:
|
||||
|
||||
`lspci -s {{00:18.3}}`
|
||||
|
||||
- Dump info in a readable form:
|
||||
- Dump info in a ([m]achine) readable form:
|
||||
|
||||
`lspci -vm`
|
||||
|
||||
- Show PCI vendor and device codes alongside its name:
|
||||
- Show PCI vendor and device codes as both [n]umbers and [n]ames:
|
||||
|
||||
`lspci -nn`
|
||||
|
||||
22
tldr/linux/systemctl-poweroff
Normal file
22
tldr/linux/systemctl-poweroff
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# systemctl-poweroff
|
||||
|
||||
> Power off the system.
|
||||
> See also: `poweroff`.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#poweroff>.
|
||||
|
||||
- Power off the system:
|
||||
|
||||
`systemctl poweroff`
|
||||
|
||||
- Power off the system immediately without asking services to stop gracefully:
|
||||
|
||||
`systemctl poweroff --force`
|
||||
|
||||
- Power off the system immediately without sending notifications to logged-in users:
|
||||
|
||||
`systemctl poweroff --force --no-wall`
|
||||
@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# whatis
|
||||
|
||||
> Display one-line descriptions from manual pages.
|
||||
> See also: `whereis`, `which`, `type`.
|
||||
> More information: <https://manned.org/whatis>.
|
||||
|
||||
- Display a description from a man page:
|
||||
|
||||
@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# whereis
|
||||
|
||||
> Locate the binary, source, and manual page files for a command.
|
||||
> See also: `which`, `whatis`, `type`.
|
||||
> More information: <https://manned.org/whereis>.
|
||||
|
||||
- Locate binary, source and man pages for SSH:
|
||||
|
||||
@@ -7,6 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Display the type of command the shell will execute.
|
||||
> Note: All examples are not POSIX compliant.
|
||||
> See also: `whereis`, `which`, `whatis`.
|
||||
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-type>.
|
||||
|
||||
- Display the type of a command:
|
||||
|
||||
@@ -10,18 +10,34 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Some subcommands such as `startvm` have their own usage documentation.
|
||||
> More information: <https://www.virtualbox.org/manual/ch08.html#vboxmanage-intro>.
|
||||
|
||||
- Execute a VboxManage subcommand:
|
||||
- List all VirtualBox virtual machines:
|
||||
|
||||
`VBoxManage {{subcommand}}`
|
||||
`VBoxManage list vms`
|
||||
|
||||
- Show information about a particular virtual machine:
|
||||
|
||||
`VBoxManage showvminfo {{name|uuid}}`
|
||||
|
||||
- Start a virtual machine:
|
||||
|
||||
`VBoxManage startvm {{name|uuid}}`
|
||||
|
||||
- Start a virtual machine in headless mode:
|
||||
|
||||
`VBoxManage startvm {{name|uuid}} --type headless`
|
||||
|
||||
- Shutdown the virtual machine and save its current state:
|
||||
|
||||
`VBoxManage controlvm {{name|uuid}} savestate`
|
||||
|
||||
- Shutdown down the virtual machine without saving its state:
|
||||
|
||||
`VBoxManage controlvm {{name|uuid}} poweroff`
|
||||
|
||||
- Update VBox extension packs:
|
||||
|
||||
`VBoxManage extpack install --replace {{VboxExtensionPackFileName}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`VBoxManage --help`
|
||||
|
||||
- Display help for a specific subcommand:
|
||||
|
||||
`VBoxManage --help {{clonevm|import|export|startvm|...}}`
|
||||
|
||||
- Display version:
|
||||
|
||||
`VBoxManage --version`
|
||||
|
||||
@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# which
|
||||
|
||||
> Locate a program in the user's path.
|
||||
> See also: `whereis`, `whatis`, `type`.
|
||||
> More information: <https://manned.org/which>.
|
||||
|
||||
- Search the PATH environment variable and display the location of any matching executables:
|
||||
|
||||
Reference in New Issue
Block a user