Update cheatsheets

This commit is contained in:
ivuorinen
2025-05-11 00:21:25 +00:00
parent c39b4c5f19
commit 3bbcd70636
19 changed files with 93 additions and 39 deletions

View File

@@ -18,8 +18,8 @@ source: https://github.com/tldr-pages/tldr.git
- List all disks and storage controllers in tabular format:
`sudo lshw -class disk -class storage -short`
`sudo lshw {{[-c|-class]}} disk -class storage -short`
- Save all network interfaces to an HTML file:
- Save all network interfaces to an HTML/XML/JSON file:
`sudo lshw -class network -html > {{interfaces.html}}`
`sudo lshw {{[-c|-class]}} network -{{html|xml|json}} > interfaces{{.html|.xml|.json}}`