Warning this article may contain opinions of the author that you and iTWire don't agree with.
Visit the last page to have your say in our forum.

No. 1 Story

Telstra adds one million mobile services, but Sensis plummets

Telstra has revealed the addition of almost one million new mobile services in the six months to December 2011, but Sensis revenues plummeted 24 percent in 12 months.

read more

The Linux file system

Opinion and Analysis

Ok, let's continue

The next two folders, /initrd and /lib don't concern users, so I won't be explaining them

/lost+found is a special folder which is used for file system recovery. I have never seen anything in there

/media is another interesting folder, as when you plug in an external hard disk or a USB key or similar this is where will show up. Devices are assigned a sub-folder which is derived from the device's name. I have specially named all of my devices, so that when I plug in my external hard disk it shows up as /media/IDE320 or /media/SATA750 or /media/USB2GB. DVD and CD devices can be found here, but often they'll show up as a desktop icon too

/mnt is often used to mount external filesystems (such as when connecting to a server). More on this later

/opt: to be prefectly honest I don't use /opt, but it is often recommended that downloaded applications (such as I mentioned in a previous article: Gantt Project) is put into this folder. But I have found that you have to mess around with permissions and that's just too hard, so I put them into my /home folder

/proc is a virtual folder that is generated when the system boots up. It keeps information on the number of connections, file systems and other relevant system information. If you jump into a terminal and type in "cat /proc/version" you'll get some information about the system. "cat /proc/cpuinfo" reveals a lot about the CPU in the system

/root is the root user's home directory

/sbin stores binary files (just like /bin) but these are only executable by the root user (also known as the "superuser" hence the "s" in "sbin"). These files are things that can really mess with the system, hence only being able to be used by the root user. They include the ability to format partitions, change the system time and other things

/srv and /sys: no idea, never looked at them!

/tmp: for temporary storage, just like the various temporary folders in Windows

/usr: again to be honest, I am not 100% sure about this folder as I haven't looked at it in any detail. There are various things stored in here such as much of the systems documentation and help files. Many applications get installed in here too, so I really should know more about it!

Finally, /var which is another of those interesting folders. All "var"iable sized files are stored in here, so you'll often find log files (as they change in size) in this folder, specifically in the /var/log folder. If you type the following into a terminal "tail -f /var/log/messages" then you'll get an automatically updating version of the last few lines of the "messages" log file. This is quite similar to the Event Log in Windows and is really useful in figuring out what is happening with the system.

Please read onto page 3...



- sponsored feature -

The Death of Traditional BI: What’s Next?

How to Make Business Discovery Work for Your Business IP PABX BUYING GUIDE

Business Discovery takes its cues from consumer apps. Like Google, it encourages us- ers to hunt for and explore data without worrying about or even noticing the underly- ing technology. Their entire experience is working within an intuitive interface to get real-time, self-service results with only minimal training. ...more