Introduction to Linux

rohitrawat@gmail.com

March 1, 2016

What is Linux

Why you might need Linux

Free Open Source

“Free as in freedom”

Software with source code available that you are free to study, change and distribute for any purpose. Examples GPL, BSD licenses.

“Standing on the shoulders of giants”

Imagine:

= stifled innovation!

Open Source in Your Life

You can read more about the Open Source philosophy and its evolution over the years on the web.

Linux Awareness

Brief History of Operating Systems

Learning Linux

Outline:

Linux distributions

Most popular ones:

Distros

Fedora

fitme

Ubuntu

fitme

Debian

fitme

Linux Mint

fitme

Command line

fitme

Installation

VM Installation instructions

Windows users download link: Windows

Mac OSX users download link: MacOS

Download the ISO image of a Linux distribution (Ubuntu Linux or Linux Mint is recommended)

Note: amd64 means any Intel or AMD CPU - don’t let that confuse you

Installation

https://youtu.be/BSPVWOrMc3M

https://youtu.be/kC0BtOKTMHE

Enabling hardware virtualization speeds up everything, the virtual OS as well as your base OS. There is less time wasted translating calls from the virtual OS to the hardware leading to better performance.

More learning

Try the shell

Go to the URL provided to you at the session. I have set up a wetty terminal you can access through your browser and try the shell commands.

Login with the username and password on the piece of paper given to you.

Commands

You can try these commands in your shell window:

All commands and file/folder names are Case-Sensitive!

We can add switches to commands to change their behavior:

Commands

The following commands do things, like changing your current directory, creating and copying files etc.

Compiling programs

Built-in help manuals

More on shell commands and scripting