---

LINUX DIRECTORY STRUCTURE EXPLAINED: /DEV FOLDER

Today we will see what is /dev folder and it’s used. Linux/Unix treat everything as files. One classic example is it treats hardware devices too as files. All hardware files are present in /dev(Device ) folder. If we observe the /dev folder you can find files/folders related to different hardware’s present in the machine.

Below are some hardware files and their uses and explanation.

1. /DEV/ALARM
This is a hardware file used to keep track of time when system goes hibernation or suspended when it is idle. When your system goes hibernation most of your hardware will be shutdown, HDD rotation is reduced to as low as possible in order to save power.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis