List partitions and drives
Manipulate partition or list them with:
Using the disk free command:
Partition manager utility
Get detailed info on hardware, memory, firmware, mainboard, bus
Relative to mounted drives:
Get that information as html (JSON, XML) page:
List disks by ID, label, UUID…:
ls -l /dev/disk/by-id
ls -l /dev/disk/by-label
ls -l /dev/disk/by-partlabel
ls -l /dev/disk/by-partuuid
ls -l /dev/disk/by-path
ls -l /dev/disk/by-uuid
sfdisk utility for manipulating disk partitions. List block devices:
source: https://learnubuntu.com/list-drives/
Smart monitor tool
Mount a drive
mkdir /media/usbstick
mount /dev/sdbX /media/usbstick
Delete files
Delete all files in all folders starting with 2023 living in the current folder