mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-19 02:50:05 +00:00
Update cheatsheets
This commit is contained in:
@@ -10,32 +10,32 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Show kernel messages:
|
||||
|
||||
`dmesg`
|
||||
`sudo dmesg`
|
||||
|
||||
- Show kernel error messages:
|
||||
|
||||
`dmesg --level err`
|
||||
`sudo dmesg --level err`
|
||||
|
||||
- Show kernel messages and keep reading new ones, similar to `tail -f` (available in kernels 3.5.0 and newer):
|
||||
|
||||
`dmesg -w`
|
||||
`sudo dmesg -w`
|
||||
|
||||
- Show how much physical memory is available on this system:
|
||||
|
||||
`dmesg | grep -i memory`
|
||||
`sudo dmesg | grep -i memory`
|
||||
|
||||
- Show kernel messages 1 page at a time:
|
||||
|
||||
`dmesg | less`
|
||||
`sudo dmesg | less`
|
||||
|
||||
- Show kernel messages with a timestamp (available in kernels 3.5.0 and newer):
|
||||
|
||||
`dmesg -T`
|
||||
`sudo dmesg -T`
|
||||
|
||||
- Show kernel messages in human-readable form (available in kernels 3.5.0 and newer):
|
||||
|
||||
`dmesg -H`
|
||||
`sudo dmesg -H`
|
||||
|
||||
- Colorize output (available in kernels 3.5.0 and newer):
|
||||
|
||||
`dmesg -L`
|
||||
`sudo dmesg -L`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# pinout
|
||||
|
||||
> View the current Raspberry Pi's GPIO pin-out information on the terminal with an ASCII diagram.
|
||||
> More information: <https://www.raspberrypi.org/documentation/computers/os.html#gpio-pinout>.
|
||||
> More information: <https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#view-a-gpio-pinout-for-your-raspberry-pi>.
|
||||
|
||||
- View the pinout information and GPIO header diagram for the current Raspberry Pi:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user