Introduction-to-Linux
Introduction-to-Linux
It’s an
Operating
System
Today more than 97 percent of the world's
supercomputers (including the complete top 10),
more than 80 percent of all smartphones, many
millions of desktop computers, around 70
percent of all web servers, a large chunk of tablet
computers, and several appliances (dvdplayers,
washing machines, dsl modems, routers, self-
driving cars, space station laptops...)
run Linux. Linux is by far the most commonly
used operating system in the world.
Linux kernel version 4.0 was released in April
2015. Its source code grew by several hundred
thousand lines (compared to version 3.19 from
February 2015) thanks to contributions of
thousands of developers paid by hundreds of
commercial companies including Red Hat,
Intel, Samsung, Broadcom, Texas Instruments,
IBM, Novell, Qualcomm, Nokia, Oracle,
Google, AMD and even Microsoft (and many
more).
What is Linux?
Linux is a Unix clone written from scratch by
Linus Torvalds with assistance from a
loosely-knit team of hackers across the Net.
Unix is a multitasking, multi-user computer
operating system originally developed in
1969 by a group of AT&T employees at Bell
Labs.
Linux and Unix strive to be POSIX compliant.
64% of the world’s servers run some variant
of Unix or Linux. The Android phone and the
Kindle run Linux.
Linux Has Many Distributions
Linux Has Many Distributions
Oracle Enterprise Linux is a
free version of RedHat
Enterprise Linux with the
trademarks removed
What is Linux?
Linux + GNU Utilities = Free Unix
Symbolic Notation
SCO SYM
DESCRIPTION
PE BOL
User u The owner of the file or directory
Grou The group of users to who can access the
g
p file or directory
Othe
o Other users (world)
r
All a All users
File System Ownership and
Permissions
CHANGE IN USER CHANGE IN CHANGE IN
COMMAND IN SYMBOLIC NOTATION (U) GROUP (G) WORLD (O)
PERMISSIONS PERMISSIONS PERMISSIONS
✓ Read
✓ Write
chmod u+wx,g-x,o=rx foo ☐ Execute ☐ Write
✓ Execute
✓ Execute
File System Ownership and
Permissions
Here are some examples of chmod usage with octal
notation:
COMMAND IN OCTAL CHANGE IN USER (U) CHANGE IN GROUP (G) CHANGE IN WORLD (O)
NOTATION PERMISSIONS PERMISSIONS PERMISSIONS