Comando útiles en Linux
28/11/2018
lsb_release
Imprime información especifica de la distribución
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.6 (stretch)
Release: 9.6
Codename: stretch
dmidecode
Imprime información de hardware
$ sudo dmidecode
dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.
27 structures occupying 1263 bytes.
Table at 0x000EBD50.
Handle 0x0000, DMI type 0, 24 bytes
...
$ sudo dmidecode -t memory
dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.
Handle 0x000F, DMI type 16, 23 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 16 GB
Error Information Handle: Not Provided
Number Of Devices: 2
...
Tamañas de directorios
$ du --max-depth=1 -h | sort -h