Featured

    Featured Posts

Linux file structure

Everything in Linux is considered a file, even the hard disk or the CD/ROM device. All files and directories appear under the root directory (represented by a single slash, “/”). You can refer to any file or directory using either a full path (for example /home/bob/file.txt) or a relative path (for example, if your current directory is /home/bob/, you could refer to the file simply by typing file.txt).
A directory file is similar to a folder in Windows, and it can contain files and other directories. Hardware devices are represented by a special file stored in the /dev directory (for example, /dev/sda represents the first hard disk on the system).
All files and directories appear under the root directory (“/“). Below that is a set of common directories in the Linux system (bin, dev, home, lib…):
linux file system hierarchy
In the picture above you can see the file hierarchy under the root directory.
author

Author Name

Author Description!

Get Free Email Updates to your Inbox!

Post a Comment

www.ccna.ma

yu
Powered by Blogger.

Translate

Copyright © Learn Linux Th3pro.xyz | Blogger Templates | Designed By Code TAOUSSI