I have been using the Ubuntu System for so long, but I still focus on simple use. Many commands on system settings are rarely used at ordinary times. When I read a book, I forget it, it is very troublesome to search again when it comes to use. Today, we will record some of the commands we need to solve when we encounter problems, which will also facilitate future memories and queries.
View the computer configuration in Ubuntu:
Lshw-short
H/W path device class description
========================================================== ==========
System Computer
/0 bus Motherboard
/0/0 memory 15gib system memory
/0/1 processor Intel (r) core (TM) i7-2600 CPU @ 3.40 GHz
/0/100 bridge 2nd generation core processor family dram
/0/100/1 bridge Xeon E3-1200/2nd generation core processor
/0/100/1/0 bus upd720200 USB 3.0 Host Controller
/0/100/2 display 2nd generation core processor family integ
/0/100/16 Communication 6 series/C200 series chipset Family Mei Co
/0/100/1a bus 6 series/C200 series chipset family USB en
/0/100/1B multimedia 6 series/C200 series chipset family high d
/0/100/1C Bridge 6 series/C200 series chipset family PCI ex
/0/100/1C. 5 Bridge 6 series/C200 series chipset family PCI ex
/0/100/1C. 5/0 eth0 network rtl8111/8168/8411 PCI Express Gigabit Ethe
/0/100/1C. 6 bridge 82801 PCI Bridge
/0/100/1C. 6/0 bridge integrated technology Express, Inc.
/0/100/1D bus 6 series/C200 series chipset family USB en
/0/100/1f bridge h67 express chipset family LPC Controller
/0/100/1f. 2 Storage 6 series/C200 series chipset family SATA
/0/100/1f. 3 bus 6 series/C200 series chipset family SMBus
/1 scsi6 Storage
######################################## ######################
View the host CPU:
CAT/proc/cpuinfo
#############
View host memory
CAT/proc/meminfo
#############
View Hard Disk Partitions of a host
CAT/proc/Partitions
#############
View Ubuntu version
CAT/proc/version | CAT/proc/version_signature | uname-
I have learned this knowledge from others' blogs, and I need to write some original knowledge when I have accumulated more.