To read from the sysfs virtual file system to gather information about your system's block devices (hard drives, SSDs, NVMe drives, USB sticks, and their partitions).
To read from the sysfs virtual file system to gather information about your system's block devices (hard drives, SSDs, NVMe drives, USB sticks, and their partitions). — notes from the Bash collection.
bash
lsblkbash/lsblk.md
Related articles
- WindowsFormatting a USB drive completely wipes all data on it and sets up a fresh file system. In Windows, you can do this quickly using either the graphical interface or the command line1.Right-click the Start menu and select Terminal (Admin) or Command Prompt (Admin). 2.Type diskpart and press Enter. 3.Run the following commands one by one:
- BashDd 2The "Error": No space left on device While it says "error", this is actually exactly what you want to see when zeroing out a drive.
- BashPermanently overwrites the entire /dev/sda disk with zeros#Breakdown sudo – Run as root. dd – Low-level disk copy utility. if=/dev/zero – Input file is an endless stream of zero bytes. of=/dev/sda – Output is the entire disk /dev/sda.…
- BashSSH Keygenssh -l root 192.168.2.36 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @…