Last active
December 7, 2020 21:08
-
-
Save gbarreiro/5abf258a881bba92a9cfd0a58835a77c to your computer and use it in GitHub Desktop.
Bash cheatsheet: information about the system
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uname -a # shows info about the system (kernel, architecture...) | |
sudo lshw # (only Linux) list all the hardware components | |
sudo lshw -short # (only Linux) list a summary table with the hardware components | |
lscpu # (only Linux) show information about the CPU | |
lsusb # (only Linux) list the plugged USB devices | |
date # print the current date and time |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment