Added lscpu and lsusb for listing cpu information and usb devices
parent
d0ac755710
commit
35610525c7
|
@ -31,7 +31,7 @@ Scope:
|
||||||
- This guide is both for beginners and the experienced. The goals are *breadth* (everything important), *specificity* (give concrete examples of the most common case), and *brevity* (avoid things that aren't essential or digressions you can easily look up elsewhere). Every tip is essential in some situation or significantly saves time over alternatives.
|
- This guide is both for beginners and the experienced. The goals are *breadth* (everything important), *specificity* (give concrete examples of the most common case), and *brevity* (avoid things that aren't essential or digressions you can easily look up elsewhere). Every tip is essential in some situation or significantly saves time over alternatives.
|
||||||
- This is written for Linux. Many but not all items apply equally to MacOS (or even Cygwin).
|
- This is written for Linux. Many but not all items apply equally to MacOS (or even Cygwin).
|
||||||
- The focus is on interactive Bash, though many tips apply to other shells and to general Bash scripting.
|
- The focus is on interactive Bash, though many tips apply to other shells and to general Bash scripting.
|
||||||
- It includes both "standard" Unix commands as well as ones that require special package installs -- so long as they are important enough to merit inclusion.
|
- It includes both "standard" Unix commands as well as ones that require special package installs -- so long as they are important enough to merit inclusion.
|
||||||
|
|
||||||
Notes:
|
Notes:
|
||||||
|
|
||||||
|
@ -431,6 +431,10 @@ A few examples of piecing together commands:
|
||||||
|
|
||||||
- `lshw` and `lspci`: hardware information, including RAID, graphics, etc.
|
- `lshw` and `lspci`: hardware information, including RAID, graphics, etc.
|
||||||
|
|
||||||
|
- `lscpu`: Display information about the CPU architecture
|
||||||
|
|
||||||
|
- `lsusb`: List USB devices
|
||||||
|
|
||||||
- `fortune`, `ddate`, and `sl`: um, well, it depends on whether you consider steam locomotives and Zippy quotations "useful"
|
- `fortune`, `ddate`, and `sl`: um, well, it depends on whether you consider steam locomotives and Zippy quotations "useful"
|
||||||
|
|
||||||
|
|
||||||
|
@ -447,6 +451,6 @@ With the exception of very small tasks, code is written so others can read it. W
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
[](http://creativecommons.org/licenses/by-sa/4.0/)
|
[](http://creativecommons.org/licenses/by-sa/4.0/)
|
||||||
|
|
||||||
This work is licensed under a [Creative Commons Attribution-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/).
|
This work is licensed under a [Creative Commons Attribution-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/).
|
||||||
|
|
Loading…
Reference in New Issue