linux information
TRANSCRIPT
![Page 1: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/1.jpg)
Introduction to Linux
![Page 2: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/2.jpg)
Contents
Introduction
History of Linux
Concepts to be known
Ubuntu 14.04 LTS setup
![Page 3: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/3.jpg)
A free Unix-type operating system developed under the GNU General Public License.
Open source
Popular
Support most of the platforms available
Linux
![Page 4: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/4.jpg)
History of Unix OSThe Unix OS was developed (based on Multics & CTSS
operating systems) by Ken Thompson at the AT&T Bell
Laboratories in 1969. He wanted to create an multi-user
operating system to run “space wars” game.
Ken’s philosophy was to create an operating system
with commands or “utilities” that would do one thing
well (i.e. UNIX). Pipes could be used combine
commands...
![Page 5: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/5.jpg)
History of Unix OSThe first versions of UNIX were written in
“machine-dependent” program (such as PDP-7).
Ken Thompson approached Dennis Ritchie,
developer of C language, and in 1973 they
compiled UNIX in C to make operating system
“portable” to other computers systems.
![Page 6: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/6.jpg)
UNIX Features
The Unix OS is a multi-user OS allowing more
that more person to directly communicate with the
computer.
Although the OS can only work on one task at a
time, a small piece of time (time slice) is dedicated
to each task/user –this referred to as “time-sharing”
![Page 7: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/7.jpg)
Illustration of
Time-Sharing
TIME
User 1
User 2
User 3
User 4User 5
User 6
User 7
User 8
![Page 8: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/8.jpg)
Development of Unix OS
Unix became a popular OS among institutions such as
colleges & universities through a 4-year “try before you
buy” deal.
− Efficient and inexpensive way of networking
− promotes Internet use and file-sharing
− Open system allows for source code to be shared among many
programmers - allows for better coordination among
programmers
![Page 9: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/9.jpg)
Development of Unix OS
Students at University of California (in Berkley)
further developed the UNIX operating system
and introduced the BSD version of UnixUnix
Bell Labs
UNIX System V (5)
Proprietary
Berkley Software Distribution (BSD)
Free
![Page 10: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/10.jpg)
Development of Unix OS
There were versions of UNIX for the Personal
Computer (PC), such as XENIX, etc., but they
didn’t catch on in popularity until Linux was
developed in the early 90’s.
![Page 11: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/11.jpg)
History of Linux
Linux operating system
developed by
programming student
Linus TorvaldsLinus wanted to develop
Unix-like OS just to experiment with new 386 computer at the time...
![Page 12: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/12.jpg)
Why Linux became so popular?
Linus decided to make Linux OSsource-code for Linux Kernel open to all:
− Unlike traditional Operating Systems, anyone can modify and distribute Linux OS (as long as they distribute source code of Linux Kernel)
− “Competition among Hackers” allow code to be improved and distributed often
− Many users can spot bugs in the operating system or application if source code is “open”
![Page 13: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/13.jpg)
Other Factors:
− PC’s have increased processing power and there has been
a noted shift from mainframes and minicomputers to PCs.
− Since Linux is a “Unix Work-alike”, this OS has a
reputation to be a very stable platform for networking
(creating at-home servers) and running / maintaining
applications.
− Agencies such as Free Software Foundation created GNU
project to provide free software.
Why Linux became so popular?
![Page 14: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/14.jpg)
ConcernsSome people claim that “there are as many version of
Linux as there are users…”
POSIX (Portable Operating System Interface for
Computer Environments) is a government standard to
ensure consistency among different UNIX and Linux
versions.
Many versions of Linux are approaching POSIX
standard.
![Page 15: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/15.jpg)
− Multics, AT&T Bell Lab, GE, MIT
− 1969, UNIX, Ken Thompson, Dennis Ritchie
− 1973, Rewrite UNIX with C
− Berkeley UNIX(BSD UNIX)
− Commercial productsSunOS, Solaris, HP-UX, AIX, SCO UNIX
A Short History of UNIX
![Page 16: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/16.jpg)
A Short History of Linux
![Page 17: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/17.jpg)
A Short History of Linux(2)
![Page 18: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/18.jpg)
Is Linux difficult ?
![Page 19: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/19.jpg)
Benefits of Linux:
Linux can give you:
A modern, very stable, multi-user, multitasking environment.
Advanced graphical user interface. Linux uses a standard, network-transparent
X-windowing system with a "window manager" (typically KDE or GNOME but
several are available).
The graphical desktop under Linux can be made to look like MS
Windows (or probably ANY other graphical user interface of your choice).
![Page 20: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/20.jpg)
Dozens of excellent, free, general-interest desktop applications. These
include a range of web browsers, email programs, word processors,
spreadsheets, bitmap and vector graphics editing programs, file managers,
audio players, CD writers, some good games, typing tutor, etc.
Freedom from viruses. Linux has no viruses because it is too secure an
operating system for the viruses to spread with any degree of efficiency.
![Page 21: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/21.jpg)
Linux is quite positively here-to-stay because of its open-source nature (Linux cannot possibly
be put out-of-business). It is a standard selected for countless projects that are not going to go
away, and some of them are quite "mission-critical." Try the International Space Station, for
which Linux is the operating system (http://www2.linuxjournal.com/lj-
issues/issue59/3024.html).
![Page 22: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/22.jpg)
In a nutshell, the GNU General Public Licence (GPL) allows anybody
to:
use the software at no charge, without any limitations,
copy, and distribute or sell unmodified copies of the software in the
source or binary form,
use the software with propriatory (e.g., your own) modifications, free of
charge, as long as you do not distribute or sell the modified version,
modify, and distribute or sell a modified version of the software as long
as the source code is included and licenced on the same terms as the
original you received (the GPL),
sell support for the software, without any limitations.
![Page 23: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/23.jpg)
What the GPL license *does not* allow code recipients to do is to take somebody elses software licenced under GPL, modify the software, and then distrubute a this modified version of the software under a propriatory licence. Speaking plainly, the GPL licence just forbids stealing existing (somebody else's) software for incorporation into a closed, commercial-only product.
![Page 24: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/24.jpg)
A Linux distribution, often simply distribution or distro, is a member of the Linux family of Unix-like computer operating systems.
Distros mainly based on ‘Look and Feel’ and Applications
Linux Distros
: Distros:
Red Hat Fedora, Debain, SuSe,Ubuntu,
Gentoo
![Page 25: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/25.jpg)
Windows uses letters of the alphabet to represent different devices and different hard disk partitions. Under Windows, you need to know what volume (C:, D:,...) a file resides on to select it, the file's physical location is part of it's name.
In Linux all directories are attached to the root directory, which is identified by a forward-slash, "/". - root.
For example, below are some second-level directories:
File System
![Page 26: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/26.jpg)
• /bin System binaries, including the command shell
• /boot Boot-up routines
• /dev Device files for all your peripherals
• /etc System configuration files
• /home User directories
• /lib Shared libraries and modules
• /lost+found Lost-cluster files, recovered from a disk-check
• /mnt Mounted file-systems
• /opt Optional software
•/proc Kernel-processes pseudo file-system
• /root Administrator’s home directory
• /sbin System administration binaries
•/usr User-oriented software
• /var Various other files: mail, spooling and logging
![Page 27: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/27.jpg)
man info command –helpForums.
Linux Help
![Page 28: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/28.jpg)
− The “-k” option
man –k print
− Manual pages are divided in 8 sections:
User commands
System calls
Libc calls
Devices
File formats and protocols
Games
Conventions, macro packages and so forth
System administation
− To select correct section, add section number:
man 1 passwd, man 5 passwd
man command
![Page 29: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/29.jpg)
info command
A program for reading documentation, sometimes a replacement for manual pages
Example : info ls
![Page 30: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/30.jpg)
Ubuntu
![Page 31: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/31.jpg)
What is it?
Ubuntu is a Linux-based Operating System that is
open sourced (free)
Pronounced (oo-BOON-too)
Strong focus on usability and ease of installation
![Page 32: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/32.jpg)
Why that name?
Ubuntu is an African concept meaning “humanity
toward others”
Sponsored by Canonical Ltd. Owned by South African
billionaire Mark Shuttleworth
![Page 33: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/33.jpg)
Why use it?
Huge group of “free software proponents” (open
source)
Ubuntu is free
Alternate to Windows and MAC OS’s
Ubuntu is most popular Linux-based OS in the
world (8 million now)
Dell now offers desktops with Ubuntu
![Page 34: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/34.jpg)
Last version – Feisty Fawn 7.04
Latest version – Gusty Gibbon 7.10
Next version – Hardy Heron 8.04 in 2011
256 KB RAM
4 GB hard drive space
Can be dual booted with current OS or used from a
live CD
![Page 35: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/35.jpg)
Gutsy Gibbon Software Includes:
Firefox browser
Thunderbird and Evolution e-mail
Open Office suite
GIMP (Photoshop-like)
Music and Video players
Games
![Page 36: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/36.jpg)
Summary
Pro –
Open source (free too)
Upgrade available about every 6 mo.
Compatible with MS programs
Many add-ons available
No key codes, activation, registration
![Page 37: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/37.jpg)
Summary
Con’s
No tech support (Internet groups only)
Not all programs compatible
Drivers for peripherals not always available
![Page 38: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/38.jpg)
How to get Ubuntu
Three ways to acquire:
1. Download from the Internet
www. Ubuntu. Com
Warning: about 600 MB download
2. Send for a free CD
![Page 39: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/39.jpg)
Links :http://en.wikipedia.org/wiki/Unixhttp://en.wikipedia.org/wiki/LinuxDownload Source Code from:http://www.kernel.orgBooks:Unix User Guide – Rebecca ThomasYour UNIX: The Ultimate Guide-Sumitabha Das
![Page 40: Linux Information](https://reader034.vdocuments.us/reader034/viewer/2022042701/55a9658c1a28ab4a108b4799/html5/thumbnails/40.jpg)
Thank you