Unfamiliar Commands Flashcards
Free
-check the amount of used, free, and total amount of RAM on system
Lsblk
-list block devices
Df
-lists disk space on file systems
Fdisk
-utility used to modify partitions on hard drives
HOW TO PARTITION
1) create new hdd in storage settings
2) fdisk /dev/sdx (x is hdd)
3) mdadm –create /dev/md1 –level=x (raid level) –raid-devices=1 /dev/sdx1
4) cat /proc/mdstat (checks raid status)
Dmidecode
- extracts hardware info by reading data
- from SMBIOS data structures/DMI tables
Hdparm
-gets info about data devices (such as hard disks)
Lshw
-lists hardware
Hwinfo
-hardware info
Lspci
-list PCI buses and details about connected devices (graphics card, network adapter, USB, etc)
Lsusb
-list usb’s
Lscpu
-list CPU
Lsscsi
-list scsi
Pydf
-DF written in python language
Inxi
-10k line mega bash script