Thursday, March 22, 2018

Linux System Commands


Current username id
Logged on users w
Process list ps -ef
Kill process kill <pid>
Mounted file systems mount
Disk usage df -h
Add a user useradd -m <user> -G sudo -s /bin/bash
Set/change a user password passwd <user>
Report info about the CPU lscpu
List hardware lshw
Hardware info hwinfo
List PCI buses and connected devices lspci
List SCSI devices lsscsi
List USB buses and device details lsusb
Report on hardware details inxi -Fx
List block devices lsblk
Disk space of file systems df
Better df pydf
Modify partitions fdisk
Mount, unmount and view mounted file systems mount
Get info on SATA devices hdparm -i /dev/sda

“If I had eight hours to chop down a tree, I'd spend the first six of them sharpening my axe.”

Abraham Lincoln

Copyright 2018 by Exweeto Terms Of Use Privacy Statement