Windows-linux-layout

Linux layout for Windows users

For the Windows users I will attempt to describe a comparison of where files are stored on a Linux system. This wont be exact equivelents because the operating systems are very different, but they are an approximation.

If you can remember these three golden rules it will make your life easier.

  1. Everything in Linux is under the root directory, ‘/’. No more A: C: D: stuff.
  2. Everything is part of the directory, even devices.
  3. Everything in Linux is case sensitive.

My Documents

The equivalent place in Linux would be /home/yourusername.

Where is my C: drive?

Your “C: drive” is now called root, or ‘/’. It is a representation of your entire system, even other hard drives are under this directory.

Where is my X: drive?

Linux actually doesn’t used the driveletter: technique like other operating systems. With Linux you make a directory and “mount” the drive to that directory. Any time you manipulate something inside that directory you are making changes to that particular hard drive.

The great thing about Linux is that you can mount your drive anywhere you like (good places would be /media, /mnt or /home).

Where is program X?

Most likely in /usr you can find out for sure by doing, ‘whereis X‘. Most programs will run by simply typing it’s name in the command prompt.

Windows/System32

The guts of the linux system can be found in /lib.

Subscribe via Email

Subscribe to Nixtutor via Email

Enter your email address:

Was this information useful?

8 Responses

  1. L4Linux

    2-13-2009

    The biggest issues for new Linux users that come from Windows are: program installation and flash/media codecs. So write a bit about package managers and where they can be found in each of the popular distros (Ubuntu,Fedora,OpenSuse,Mandriva,etc)

  2. Mark Sanborn

    2-13-2009

    Great idea, will do.

  3. TimG

    2-13-2009

    Rather than use whereis, you might as well use ‘which’.

  4. J

    2-13-2009

    Hey, I don’t have “/home/yourusername” directory :)

  5. Kevin

    2-14-2009

    I like your list, though I was expecting something a little more in-depth. One thing, though, /home/ is more of a combination of My Documents and %userpath% rather than just My Documents on most distros I’ve seen…though I have seen a couple addin “/home//(My )Documents”

  6. Jade Robbins

    2-14-2009

    @J kekekeke

  7. [...] Linux layout for Windows users [...]

  8. [...] Linux layout for Windows users [...]