mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-10 08:58:09 +00:00
Update cheatsheets
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user