01. Setting up

In this tutorial series, we'll see how to use the Linux Command Line.

Download and print out the Cheatsheet

Before we get our hands dirty, please print out your very own Command Line Cheatsheet. It's a good reference to have, so print it out and tape it to your wall where it's clearly visible!

VMware - Recommended Setup for All Users

To make full use of this tutorial series and really learn Linux Command Line we recommend you download VMware Workstation with a copy of Ubuntu 16.04.

VMware for Linux Ubuntu
VMware is a great way to get Linux on your computer, regardless of platform. Here, I am creating a new VMware machine, pointing to the Ubuntu 16.04 iso file I downloaded.

Click on the above links and download the two pieces of software. Once installed, create a new virtual machine and select the Ubuntu iso as your platform. Make sure you go into your Virtual Machine and download VMware tools to have your VM fully incorporated to your host system.

If you're having trouble with any of the setup, try Googling error messages or commenting below!

Alternatives to VMware

Mac OS X Users

If you're on a Mac, you're partly in luck! Mac is built on top of a Unix platform, meaning it comes equipped with its own terminal with commands that are very similar to that of Linux.

To open the terminal, simply search for "Terminal" in your launcher, (⌘+Space).

If you want a highly customizable, and more pleasant version of the Terminal, I recommend you download iTerm2.

The Mac OS X command line is very similar to Linux Command Line, but you'll see a few commands are a tad bit different.

Windows Users

If you're on a Windows, simply download Cygwin, which allows for a similar interface as a terminal on a Unix platform.

If you're on Windows 10, it will be better to simply install the Bash Shell.

Linux Users

If you're running Linux, there is a Terminal you can launch by searching "Terminal." On Ubuntu, you can easily open this by holding Ctrl+Alt+T.

Keyboard inputs and outputs in this tutorial series

$ # All commands in this tutorial are preceded with a $.
# All outputs will be printed on the next line.
# Any code in italics are just example options, files or directory names.

Let's now get to it!

Take your Linux skills to the next level!

The Linux Command Line

Take your Linux skills to the next level! Try Linux & UNIX

The Linux Command Line takes you from your very first terminal keystrokes to writing full programs in Bash, the most popular Linux shell. Along the way you'll learn the timeless skills handed down by generations of gray-bearded, mouse-shunning gurus: file navigation, environment configuration, command chaining, pattern matching with regular expressions, and more.

$ Check price
39.9539.95Amazon 4.5 logo(274+ reviews)

More Linux & UNIX resources

Aching back from coding all day?

Prism Glasses

Aching back from coding all day? Try Back Problems

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
4.454.45Amazon 4 logo(128+ reviews)

More Back Problems resources

Ad