Still, HDDs power a lot of computers.
Not sure what kind of disk drive your Linux PC is using?
Heres how to easily check your disk jot down without opening the hood.
They access and write the data to the platter with a rotating head.
Solid-state drives, on the other hand, use flash memory to store and persist data.
There are no moving parts in SSDs hence they’re silent.
Instead, you might use the following Linux commands.
flash drives and hard drives, on your Linux system.
However, the command does not list RAM devices.
The lsblk utility comes as part of most Linux installations.
The-o name, rotacommand flags instruct the lsblk utility to output the name and rotational columns.
A 0 (zero) on the rota column shows that the disk is not rotational hence an SSD.
If you get a 1 then the disk is an HDD.
Therefore, the disk for this Linux system is an SSD.
Using the cat Command
The cat command is a powerful utilityfor concatenating files to the standard output.
It is also a great alternative for checking your disk key in on Linux.
Linux systems contain a file that shows whether your disk is rotational or not.
This file is usually located in the/sys/blockdirectory on most systems.
On other systems, you’d need to replacesdain the preceding command withnvme0n1, or something similar.
If the result is 1, then the disk is an HDD.
Press theSuperkey then search forFilesand launch it.
Click theOther Locationstab on the sidebar.
It’ll present you with a list of all disk drives.
The highlighted disk is marked SSD, hence this system is using an SSD.
SSDs boast many advantages over HDDs.