2. What is Linux ?
Linux is an open source operating system.
->But what is an Operating system?
As the name suggests Operating
System is the core software
required to operate a computer
3. What is an Operating
system?
An Operating system acts as an
interface between the hardware and
the User. Without it, users wont be
able to use a computer.
Operating system is responsible for
communicating with the hardware &
allocate it’s resources for you to
execute commands & run programs
4. What is an Operating system?
Try imagining your computer as a car. There are various parts in a
car, such as The transmission, gear box & steering wheel. Imagine
them as various softwares that will help you drive your car.
5. What is an Operating system?
But without the engine, none of these parts work & you wont be
able to drive your car.
In this example, The Operating system
is the engine. The engine can work on
it’s own, but without the OS no other
software will work.
6. What is an Operating system?
There are many types of Computer Operating systems, The most
notable ones are Windows & Mac OS, but unlike them Linux is Open
source.
7. Linux - Opensource Operating system
" Open Source operating systems are released under a license
where the copyright holder allows others to study, change as well as
distribute the software to other people. "
It means, Linux is freely accessible & modifiable, making it a very
popular Operating System.
8. Linux - Opensource Operating system
From smartphones to cars, supercomputers and
home appliances, home desktops to enterprise
servers, the Linux operating system is everywhere.
From affordable android
phones to super
computers on Wall street,
they’re powered by Linux
Operating System.
9. Linux distros come in all shapes and sizes. There are different
types of Linux Distributions, such as Arch Linux, Debian OS &
Fedora. In this Course I’ll be using the Ubuntu Operating system.
Linux - Distributions
10. Linux - Installation Guide
I’ll be running Linux on a Virtual Box & I’ll show you how to get
started. Go to https://www.virtualbox.org/ & download the latest
Virtual Box.
12. It’s free & it’s easy to use. Click the big blue button to start the
download I’ll leave the download link in the resources folder ..
Linux - Installation Guide
13. Linux - Installation Guide
Save the file on your computer and wait for the
download to finish.
14. Linux - Installation Guide
Run ' VirtualBox-
6.1.34a-150636-
Win.exe file' and
click 'Next'
15. Linux - Installation Guide
Browse & select
the location path,
where you'd want
to install the file
and click 'Next'
21. Linux - Installation Guide
After opening the
Virtual Box, we can
see that there are
no virtual
machines
installed. Now we
have to add an
Ubuntu Virtual
machine.
22. Linux - Installation Guide
AVirtual Machine (VM) is a computer resource that uses software
instead of a physical computer to run programs and deploy apps.
One or more virtual “guest” machines run on a physical “host”
machine.
Each virtual machine runs its
own operating system and
functions separately from the
other VMs, even when they are
all running on the same host.
- What is a VM ?
23. Linux - Installation Guide
Now download,
Ubuntu ISO file,
you’ll find the
download link in
the resources
folder.
26. Linux - Installation Guide
Wait for
download or
click on
download now.
Save the file.
27. Linux - Installation Guide
The iso file is
around 3.4
Gigabytes. Once
the file is
downloaded,
Open Virtual Box
& Click ‘ New ‘
or press 'Ctrl +N'
28. Linux - Installation Guide - Create Virtual Machine
Name the Virtual machine
and select a path for the
machine to be installed.
Select the path to Linux and
version to Ubuntu 64-bit.
Allocate the RAM, create a
vritual hard disk and create
the machine.
29. Linux - Installation Guide
Allocate file size for the virtual
machine and set the storage on
physical hard to dynamically
allocated.
Select VDI as Hard Disk file type
and Create the machine
38. Linux - Installation Guide
I'm proceeding with
normal installation,
if you want a faster
installation, or if
you want to save
space, go ahead
with the minimal
installation.
39. Linux - Installation Guide
Erase Disk
& install
Ubuntu.
Your files
on host
machine
won't be
affected.
44. Linux - Installation Guide
Once the
installation is
complete, click
to restart the
virtual
machine.
45. Linux - Installation Guide
Press 'Enter' and
Wait for the
Virtual machine
to load ...
46. Linux - Installation Guide
Log into VM and
customize your
preferences.
Click Done and
you're done with the
installation process
Linux sudo
47. • shell is a program that takes commands from the
keyboard and gives them to the operating system to
perform.
• Terminal is a program that opens a window and lets you
interact with the shell.
Shell and Terminal
48. • The Linux sudo command stands for Super User Do.
• If we prefix the command along with other commands, it
would execute that command with high privileges.
• It is equal to the option "run as administrator" in
Windows.
Sudo Command
49. • Advanced Packaging Tool (APT).
• provide the means for installing new software packages,
upgrading existing software packages, updating the
package list index, and even upgrading the entire
Ubuntu system.
Apt Command
55. Vaiables are name given to memory location
int _a10;
1.can start with either underscore or letter
2.first character cannot be a number
3.case sensitive. sum,SUM are treated differently
4.no special character not allowed other than _