beanz Magazine

bin, boot, opt, and Linux File System Hierarchy Mysteries

Tristan Schmurr on Flickr

The Linux directory structure looks confusing compared to Windows. Here are the names and purpose of each directory.

Anyone who has used the Linux operating system has probably been stumped by the odd file folder names used by the software. It’s different from Windows where only a few folder names are mysterious. With Linux, and any Unix-based operating system, every folder name seems cryptic or abbreviated. The folder names are called the file system hierarchy.

Other file system hierarchy differences include:

  • Folders are called directories in Unix.
  • You mount devices like CD-ROMs in Unix, attach or connect them in Windows.

Here’s a table with the most common Unix directory names and their purpose:

 

Folder Name Description
/ This is the top-most level in the Linux operating system. While similar to C:\ in Windows, in Linux drives like D:\ or E:\ appear as directories under the \ directory. In Windows, D:\ and E:\ appear at the same level as the C:\ folder.
bin Critical system programs and utilities are stored in this directory. Software like a Firefox web browser are stored in the /usr/bin directory. bin is shorthand for binary or binaries.

 

To see the full table Linux folder names and descriptions, and read the full article, please subscribe today. This magazine is 100% reader supported by people like you. Subscribers support independent research and writing, as well as daily operations. Subscribers also help keep this magazine free of annoying ads.

Subscribe Today!

Also In The December 2013 Issue

An Interview with Troy Hunt

Troy Hunt is a software architect and Microsoft Most Valued Professional (MVP) focusing on security concepts and process improvement in a Fortune 50 company. He's based in Australia.

1Password, LastPass, RoboForm

If you use a password you created that is less than eight characters, your password is vulnerable to hacking. Here are three ways to create and use secure passwords online.

How to Write Secure Code

Coding securely doesn't have to kill the joy of programming. In fact, learning how to code securely provides insights into languages and computing.

How to Code HTML Email

How to code an HTML email like the ones you open every day turns out to be an offbeat software coding challenge.

What is an SSL Certificate?

How to tell if a web page is secure is one of the most basic yet least obvious ways to protect your data online.

Where to Find Command Line Interface Software

One key computing skill is the ability to use command line interface (CLI) software to enter commands to control a computer. Here are some options.

Lua

Lua is a comparatively simple programming language used in a wide range of places, from digital TVs to video games to phone applications. It's also designed to be simple to use and lightweight.

Arrays

Here is how three programming languages handle a common problem: how do you organize and keep track of useful data?

Linux Command List for Command Line Interfaces

Some of the most common commands you'll need for a command line interface (CLI), in a Linux command list.

Computer science education cannot make anybody an expert programmer any more than studying brushes and pigment can make somebody an expert painter.

News Wire Stories for October 2013

Must read stories about computer science, software programming, and technology for September 2013.

Learn More Links for October 2013

Links from the bottom of all the October 2013 articles, collected in one place for you to print, share, or bookmark.