Computers organize their files using a tree-like structure known as a file system.
Linux has a single file tree system, which starts with the root directory (/). On a Windows, the "root" would be something like C:\.
The following image shows what a Linux File System would look like.
In Linux, almost everything is represented as a file (or directory) on the File System. This includes USB devices and hard disks, which are stored under /dev.
A filename can contain uppercase or lowercase letters, numbers and most punctuation characters. Note that filenames are case sensitive!
Some files begin with a dot (.) and are used for configuration settings. Others can end with a tilden (~), denoting that it is a backup file. Furthermore, we'll see how we can use ? and * to denote special cases when we learn about wildcards and globbing. Although you can name your files with these symbols, it's highly not recommended.
You can check to see where you are along this file system with the
pwd command (short for "print working directory").
Here, we can see that we are in our FunStuff directory, which is within our Dropbox folder.
In this completely revised second edition of the perennial best seller How Linux Works, author Brian Ward makes the concepts behind Linux internals accessible to anyone curious about the inner workings of the operating system. Inside, you'll find the kind of knowledge that normally comes from years of experience doing things the hard way.$ Check price
Ever feel achy from sitting crunched up on your computer table? Try lying down with these optical glasses that allow you to work on your laptop while lying flat on your back. This is the perfect solution with those with limited mobility or those who wish to prevent neck cramps and back strains.$ Check price