Use Linux

Most computers run some version of Microsoft Windows, but some servers and desktop computers run on Linux kernels, which are flavors of Unix. Learning your way around Linux was traditionally daunting at first, as it seemed quite different from Windows, but many current versions are easy to use as they are designed to mimic the Windows look-and-feel. Moving to Linux can be a very rewarding experience, as Linux can be customized more easily, and is generally much faster than Microsoft Windows.

Steps

  1. Become familiar with the system. Try downloading and installing it on your computer. If you're not sure, be aware that it's possible to keep your current operating system and dedicate part of your hard drive to Linux (and you can even run both at the same time if you run one on a virtual machine.)
  2. Test your hardware with a "Live CD" that is supplied by many of the distributions of Linux. This is helpful if you feel uncomfortable with installing a second operating system on your computer. A live CD will allow you to boot into a Linux environment from the CD, without the need to install anything on your computer. Ubuntu and some other Linux distributions also offer CDs or DVDs that allow you to boot into a Live mode, and then install from the same disk.
  3. Attempt the tasks you usually use your computer for. Search for solutions if you can't word-process or burn a CD for example. Make a note of what you want to do, can do and cannot do before you take the plunge.
  4. Learn the distributions of Linux. When referring to "Linux", this most often means a "GNU/Linux Distribution." A distribution is a collection of software that runs on top of a very small program called the Linux kernel.
  5. Consider dual-booting. This will help you understand partitioning as well as letting you continue to use Windows. But be sure to back up all your personal data and settings before you try to set up a dual boot.
  6. Install software. Get used to installing and uninstalling software as soon as you can. Understanding package management and repositories is good for fundamentally understanding Linux.
  7. Learn to use (and enjoy using) the command-line interface. This is known as 'Terminal', 'terminal window', or 'shell'. One of the primary reasons many users switch to Linux is because it features the terminal, so don't be intimidated by it. It is a powerful ally that doesn't have the same limitations of a Windows command prompt. You can just as easily use Linux without ever using a terminal as you would on Mac OSX. Using "apropos" can help you find a command that does a certain task. Try "apropos user" to see a list of commands that have the word "user" in their description.
  8. Familiarize yourself with the Linux file system. You will first notice that there is no longer the "C:\" you are used to in Windows. Everything starts at the root of the file system (aka "/") and different hard drives are accessed through the /dev directory. Your home directory, which you typically find in C:\Documents and Settings in Windows XP and 2000, is now located in /home/(your user name)/.
  9. Keep investigating the potential of your Linux install. Try encrypted partitions, new and very fast file system (like btrfs), redundant parallel disks that increase both speed and reliability (RAID's) and try to install Linux on a bootable USB stick. You'll soon discover that you can do a lot of things!



Tips

  • Build your first Linux system with a specific function in mind, and follow a HOWTO document step by step. For example, the steps in setting up a file server are pretty simple, and you can find many sites that lead you through the process step by step. This will familiarize you with where things are located, what they do, and how to change them.
  • Refer to directories as "directories" and not "folders"; although the two words seem synonymous, "folders" are a Windows concept.
  • Be patient, and be prepared, if you really want to learn to use GNU. Avoid moving from distro to distro to find the one that gets everything right. You will learn the most from learning how to fix what doesn't work.
  • Remember that only DOS uses backslash ("\") to delimit directories, while Linux uses the forward slash ("/"). Backslashes in Linux are primarily used for escaping characters (for example, \n is a newline, \t is a tab character).
  • You can obtain help for almost any particular program or distro in the IRC server irc.freenode.net (example: #debian, #ubuntu, #python, #FireFox, etc). You can find user communities also in irc.freenode.net.
  • There are several websites and mailing lists on the Internet with information about Linux. Do online searches to find answers to your questions.
  • Books from publishers John Wiley & Sons, O'Reilly and No Starch Press are worth owning to learn about Linux. There's also "In the Beginning ... was the Command Line" by Neal Stephenson and "LINUX: Rute User's Tutorial and Exposition"

Warnings

  • On all *nix systems (Linux, UNIX, *BSD, etc.), the administrator or superuser account is 'root'. You are the administrator of your computer, but 'root' is not your user account. If the installation process doesn't do it, make yourself a regular account with 'useradd <yourname>' and use that for your daily business. The reason for this separation between you the user and you the administrator is that *nix systems assume root knows what he's doing and is not malicious. Therefore, there are no warnings. If you type certain commands the system will silently delete every single file on your computer, without prompting for confirmation, because that's what root asked it to do.
  • Sometimes people suggest malicious commands so double check commands before you type them.
  • Similarly, don't create a file named '-rf'. If you run a command to delete all files in that directory it will parse the '-rf' file as a command line argument and delete all files in the sub-directories as well.
  • Do not run rm -rf / or sudo rm -rf / unless you are seriously considering deleting all of your data. Run the command 'man rm' for more details.
  • It may be tempting to type blindly "curses" you found on some web site, expecting that they will do the described task. However this frequently fails just because you have a newer version, slightly different hardware or another distribution. Try to execute each "curse" with the --help option first and understand that it is doing. Then it is usually very easy to fix various small problems (/dev/sda -> /dev/sdb and so on), achieving the described goal.
  • Always back up your files before you attempt to re-partition your drives when installing Linux. Back up your files to removable media such as CD's, DVDs, USB disks, or a different hard drive (not a different partition).

Things You'll Need

  • Suitable computer (depends on what you'll be using it for)
  • Linux distribution (can generally be downloaded for free from the Internet)

Related Articles