Ubuntu system toolbox

//Create partitions:
fdisk
parted select <device_name>
mkpartfs PART-TYPE FS-TYPE START END
//Create file block, erase data, create swap:
lsblk blkid
//List all block storage/ids
xinput --list --short
//Check port usage:
netstat -l
//Check all installed packages:
dpkg --get-selections
//Check all path for a package:
dpkg -L 

Leave a Reply