The purpose of this tutorial is to show how to label a hard disk in Linux. Labeling hard drives under a Linux system gives a user a better way to organize all of the block system’s devices on their system.
Hardware
How to check CPU instruction set
The purpose of this tutorial is to show how to check a CPU’s instruction set on a Linux system. The instruction set of a CPU is, in simple terms, the capabilities that it possesses. For example, if your CPU supports hardware virualization, then that is part of its instruction set.
Burn audio CD on Linux
If you have some music on your Linux system and want to burn it to an audio CD, it can be done via the command line. This will even work if you have a mixture of audio formats and file types.
How to check HDD firmware version in Linux
The command line terminal on Linux systems can give us a lot of insight into the hardware of a computer. Among many other things, we can retrieve the HDD firmware directly by using the Linux command line.
Hard drive hdparm speed test
The purpose of this tutorial is to describe some simple hard drive speed tests that you can perform using your Linux system and the command line tool hdparm.
Linux HDD sleep – how to enable and disable with hdparm
The purpose of this guide is to learn about enable or disable Linux HDD sleep. cover the steps necessary to change a hard drive’s sleep/standby mode timer on Linux. You can either enable standby mode on a storage device, disable standy completely, or adjust the current time it takes for a hard drive to enter standby.
How linux write cache works
Let’s start by explaining what write-back caching is and how it works to better understand the Linux write cache. Write caching is a feature available on most hard drives that allows them to collect all data into the drive’s cache memory, before being permanently written to disk. Once a certain amount of data is collected in the hard drive’s cache memory, the whole data chunk is transferred and stored with a single writing event.
How to check hard drive power on hours in Linux
In this how to check hard drive power on hours in Linux you will see how you might prevent disaster, by knowing details about system’s storage device in terms of “power on” hours (runtime), number of read and writes, or bad blocks, to determine the overall hard drive’s health and ageing.
How to detect whether a physical cable is connected to network card slot on Linux
If you’ve ever needed to know whether a physical cable is connected to a network port on your Linux system, you don’t necessarily need to be right in front of the computer or server to look and see. There are several methods we can use from the Linux command line in order to see if a cable is plugged into a network slot.
There are a few reasons why this could come in handy. For one, it shows you whether the system itself detects that there’s a cable plugged in. This could be an essential troubleshooting step if you know for a fact that the cable is properly plugged in, yet the system is not detecting it. It’s also helpful on remote systems or if you’re just too lazy to look at the back of the computer and see if the cable is plugged in.
Check out some of the examples below where we go over various commands that check whether a physical network cable is plugged in or not.
In this tutorial you will learn:
- How to detect physical network cable connectivity with Bash commands and ethtool
Data recovery of deleted files from the FAT filesystem
Although FAT32 or FAT16 are very old file systems, which is reflected in their poor performance in comparison to other file system alternatives, they are still widely used by many electronic devices. Usually, these devices include USB sticks, digital cameras, camcorders and other peripheral storage devices.
There’s a good chance that you own and store personal data on a device with the FAT filesystem. If you accidentally delete important data from the device, we’ve got good news for you: it can be recovered on Linux.
In this guide, we’ll go over the step by step instructions to recover deleted data from the FAT filesystem on Linux. Read on as we use the testdisk
command to perform file recovery.
In this tutorial you will learn:
- How to create a low level backup of FAT filesystem
- How to install testdisk tool on major Linux distros
- How to use testdisk to recover deleted files from FAT
Getting to know the hardware of your Linux box
When you buy a new PC, laptop, or server and install a Linux distribution, you want to know what hardware is actually installed in the Linux box and more importantly which piece of hardware is supported by the kernel out of the box and which needs special tweaking with modules to get it to work.
This guide features a list of command line examples which should help you to troubleshoot your hardware and find some information about it. This is not an ultimate troubleshooting guide but certainly will serve as a good starting point. Note that some commands may not be available for your platform by default, and some commands may be specific to certain distributions.
In this tutorial you will learn:
- How to see what hardware is installed via Linux commands
How to retrieve and change partition’s UUID Universally Unique Identifier on linux
Hard drive partitions on Linux systems rely on a UUID (universally unique identifier) for unique labels. This is basically a unique string of characters that the operating system will use to identify your hard disk partitions and other storage components.
You can see this for yourself by examining the /etc/fstab
file on your own system.
$ grep UUID /etc/fstab
In this guide, we’ll go over several command line methods to retrieve the UUIDs of hard disk partitions. We’ll also show you how to generate UUIDs and change a partition’s UUID.
In this tutorial you will learn:
- How to retrieve, generate, and change the UUID of a partition