Ubuntu: Show all hard drives - how it works
Related Videos: Mount Hard Drives Automatically in Ubuntu (May 2024).
In this practical tip, we will show you how to display all hard drives in Ubuntu.
Show all hard drives in Ubuntu
- To display all hard drives in the system, enter the command "sudo lshw -class disk -short" in the terminal.
- This command not only displays hard drives, but also other storage devices such as DVD drives or USB storage devices.
- Behind each entry you can see in the description what type of storage medium it is.
If you want to encrypt one of your hard drives under Ubuntu, you will find detailed instructions in the next practical tip.