mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-02 04:54:33 +00:00
Update cheatsheets
This commit is contained in:
@@ -12,7 +12,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`gs -dQUIET -dBATCH {{file.pdf}}`
|
||||
|
||||
- Reduce PDF file size to 150 dpi images for reading on a e-book device:
|
||||
- Reduce PDF file size to 150 dpi images for reading on an e-book device:
|
||||
|
||||
`gs -dNOPAUSE -dQUIET -dBATCH -sDEVICE=pdfwrite -dPDFSETTINGS=/ebook -sOutputFile={{output.pdf}} {{input.pdf}}`
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# i2cget
|
||||
|
||||
> Read from an register of an I2C device.
|
||||
> Read from a register of an I2C device.
|
||||
> See also: `i2cdetect`, `i2cdump`, `i2cset`.
|
||||
> Note: All addresses should be specified in hexadecimal.
|
||||
> More information: <https://manned.org/i2cget>.
|
||||
|
||||
@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> View the last logged in users.
|
||||
> More information: <https://manned.org/last>.
|
||||
|
||||
- View last login infromation (e.g., username, terminal, boot time, kernel) of all users as read from `/var/log/wtmp`:
|
||||
- View last login information (e.g., username, terminal, boot time, kernel) of all users as read from `/var/log/wtmp`:
|
||||
|
||||
`last`
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Manipulate network interface MAC addresses.
|
||||
> More information: <https://manned.org/macchanger>.
|
||||
|
||||
- View the current and permanent MAC addresses of a interface:
|
||||
- View the current and permanent MAC addresses of an interface:
|
||||
|
||||
`macchanger {{[-s|--show]}} {{interface}}`
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> When adding an RPM repository, you must also import the corresponding RPM key.
|
||||
> More information: <https://rpm-software-management.github.io/rpm/man/rpmkeys.8>.
|
||||
|
||||
- List all imported RPM keys. Also outputs its Key ID needed for deleting a imported RPM key:
|
||||
- List all imported RPM keys. Also outputs its Key ID needed for deleting an imported RPM key:
|
||||
|
||||
`sudo rpmkeys --list`
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`smem`
|
||||
|
||||
- Print memory usage for current processes for a every user on a system:
|
||||
- Print memory usage for current processes for every user on a system:
|
||||
|
||||
`smem --users`
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# tcpick
|
||||
|
||||
> Packet sniffing and network traffic analysis tool.
|
||||
> It can capture and display TCP connections and data. It can also monitor network traffic on a interface, host, or port.
|
||||
> It can capture and display TCP connections and data. It can also monitor network traffic on an interface, host, or port.
|
||||
> More information: <https://manned.org/tcpick>.
|
||||
|
||||
- Capture traffic on a specific interface, port, and host:
|
||||
|
||||
@@ -20,7 +20,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`vzdump {{vm_id}} --mode {{suspend|snapshot}}`
|
||||
|
||||
- Back up all guest systems and send an notification email to the root and admin users:
|
||||
- Back up all guest systems and send a notification email to the root and admin users:
|
||||
|
||||
`vzdump --all --mode {{suspend}} --mailto {{root}} --mailto {{admin}}`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user