SlideShare a Scribd company logo
Linux Introduction
Presenter: Jolanta Soltis
Overview
• What is Unix/Linux?
• History of Linux
• Features Supported Under Linux
• The future of Linux
Before Linux
• In 80’s, Microsoft’s DOS was the dominated OS for
PC
• Apple MAC was better, but expensive
• UNIX was much better, but much, much more
expensive. Only for minicomputer for commercial
applications
• People was looking for a UNIX based system, which
is cheaper and can run on PC
• Both DOS, MAC and UNIX were proprietary, i.e., the
source code of their kernel is protected
• No modification is possible without paying high
license fees
GNU project
– Established in 1984 by Richard Stallman, who believes that
software should be free from restrictions against copying or
modification in order to make better and efficient computer
programs
GNU is a recursive acronym for “GNU's Not Unix”
Aim at developing a complete Unix-like operating
system which is free for copying and modification
Companies make their money by maintaining and
distributing the software, e.g. optimally packaging the
software with different tools (Redhat, Slackware,
Mandrake, SuSE, etc)
Stallman built the first free GNU C Compiler in 1991.
But still, an OS was yet to be developed
Beginning of Linux
– A famous professor Andrew Tanenbaum developed Minix, a
simplified version of UNIX that runs on PC
– Minix is for class teaching only. No intention for commercial use
– In Sept 1991, Linus Torvalds, a second year student of Computer
Science at the University of Helsinki, developed the preliminary
kernel of Linux, known as Linux version 0.0.1
Message from Professor Andrew Tanenbaum
" I still maintain the point that designing a monolithic
kernel in 1991 is a fundamental error. Be thankful you are
not my student. You would not get a high grade for such
a design :-)“
(Andrew Tanenbaum to Linus Torvalds)
–Soon more than a hundred people joined the Linux
camp. Then thousands. Then hundreds of thousands
–It was licensed under GNU General Public License, thus
ensuring that the source codes will be free for all to copy,
study and to change.
Linux Today
– Linux has been used for many computing platforms
– PC, PDA, Supercomputer,…
– Not only character user interface but graphical user interface
is available
– Commercial vendors moved in Linux itself to provide freely
distributed code. They make their money by compiling up
various software and gathering them in a distributable format
– Red Hat, Slackware, etc
In order to encourage wide
dissemination of his OS, Linus made the
source code open to public. At the end of
1992 there were about a hundred Linux
developers. Next year there were 1000.
And the numbers multiplied every year.
Recent estimates say about 29 million people use Linux worldwide. The effects
of the dot-com bust, IT slowdown and global economic recession can be clearly
seen.
If you run Linux, add your machine at Linux Counter
Source: The Linux Counter
Linux: No of Users
Growing and growing…
138712
users registered
155679
machines registered
Linux - free software
• Free software, as defined by the FSF (Free Software
Foundation), is a "matter of liberty, not price." To qualify as free
software by FSF standards, you must be able to:
– Run the program for any purpose you want to, rather than be
restricted in what you can use it for.
– View the program's source code.
– Study the program's source code and modify it if you need to.
– Share the program with others.
– Improve the program and release those improvements so that
others can use them.
Red Hat Linux : One of the original Linux distribution.
The commercial, nonfree version is Red Hat Enterprise Linux, which is aimed at
big companies using Linux servers and desktops in a big way. (NJIT)
Free version: Fedora Project.
Debian GNU/Linux : A free software distribution. Popular for use on servers.
However, Debian is not what many would consider a distribution for beginners, as
it's not designed with ease of use in mind.
SuSE Linux : SuSE was recently purchased by Novell. This distribution is primarily
available for pay because it contains many commercial programs, although there's
a stripped-down free version that you can download.
Mandrake Linux : Mandrake is perhaps strongest on the desktop. Originally based
off of Red Hat Linux.
Gentoo Linux : Gentoo is a specialty distribution meant for programmers.
Linux groups
• http://www.linux.org/groups/
Linux Distributions
• http://www.linux.org/dist/list.html
• http://fedora.redhat.com/
Fedora Core
• Fedora Core is a free operating system
• http://ftp.ale.org/mirrors/fedora/linux/core/5/i386//iso/
Other:
•Debian
•Mandrake
•SuSE
The right Linux desktop
There are two major desktops in the Linux world: GNOME
and KDE. What you're looking at in a default Fedora
installation is a Red Hat-customized version of GNOME,
called Bluecurve GNOME.
A Web browser: Mozilla
Email: XimianEvolution
Word processor : OpenOffice.org Writer
Presentation program : OpenOffice.org Impress
Default Fedora Desktop
The default desktop has three distinct areas.
From top to bottom, the areas are:
The menu panel
The desktop area
The window list panel
The Menu Panel
• Applications - The Applications menu contains a variety of icons that
start software applications. It is similar to the Microsoft Windows Start
menu.
• Places - The Places menu contains a customizable list of directories,
mounted volumes, recent documents, and a Search function. Volumes
that are mounted may be external USB drives (flash, hard disk, CD,
etc.), directories shared across a network, or other media devices such
as a portable music player.
• System - The System menu contains a variety of items.
System menu
• Log Out
• About
• Help
• Lock Screen
• Preferences
• System Settings: configuration tools that are for
administrative purposes and usually require root
access; that is, when those applications are started,
the root password must be entered to continue.
• Mozilla Firefox web browser
• Evolution mail client and personal information manager
• OpenOffice.org Writer is a word processing program
• OpenOffice.org Impress is for creating and giving
presentations
• OpenOffice.org Calc is a spreadsheet tool
Note: There is another way to add an application launcher to the menu panel if the application is already listed in the
Applications menu. Navigate to the application in the Applications menu, right-click on the application, and select Add
this launcher to panel.
The Desktop Area
• Computer - This contains all volumes (or disks) mounted on the computer.
These are also listed in the Places menu. Computer is equivalent to My
Computer on Microsoft Windows.
• Home - This is where the logged-in user stores all files by default, such as
music, movies, and documents. There is a different home directory for each
user, and by default users cannot access each others' home directories. Home
is equivalent to My Documents on Microsoft Windows.
• Trash - Deleted files are moved to Trash. Empty Trash by right-clicking the icon
and clicking Empty Trash.
To permanently delete a file and bypass the file's move to Trash, hold down the [Shift] key when
deleting the file.
Right-clicking on the desktop presents a menu of actions related to the desktop area. For
example, clicking on Change Desktop Background lets you choose a different image or
photograph to display on the desktop. It is possible to choose not to have any desktop
background.
Office Software
word processor,
spreadsheet,
presentation and
database application
MS Outlook
•Ximian Evolution
•KMail
Web Browser: Firefox
OOo Draw: Drawing
Other software installed
• Audio Player: The XMMS (X Multimedia System), which
is used to play digital sound files
• CD Player: The default CD player
• Sound Juicer CD Ripper: Burn your own CDs
• Messaging Client: GAIM supports AIM, MSN, ICQ, and
many other popular IM networks
• gFTP: Useful for grabbing files through FTP (File Transfer
Protocol)
Terminal Window
4 MONITORS
Linux text-based interface
command to show the content
of current directory
command to show the content
of current directory with option
-al
The prompt $ shows that
bash shell is using
All LINUX commands start with the name of the command
and can be followed by options and arguments.
Linux Shell
 Shell interprets the command and
request service from kernel
 Similar to DOS but DOS has only one
set of interface while Linux can select
different shell
– Bourne Again shell (Bash), TC shell
(Tcsh), Z shell (Zsh)
Kernel
Bash, Tcsh, Zsh
ls pwd
whoami
 Different shell has similar but different functionality
 Bash is the default for Linux
 Graphical user interface of Linux is in fact an application
program work on the shell
File management
Directory Tree
(root)
When you log on the the
Linux OS using your
username you are
automatically located in
your home directory.
The most important subdirectories
inside the root directory are:
• /bin : Important Linux commands available to the average user.
• /boot : The files necessary for the system to boot. Not all Linux
distributions use this one. Fedora does.
• /dev : All device drivers. Device drivers are the files that your Linux
system uses to talk to your hardware. For example, there's a file in
the /dev directory for your particular make and model of monitor,
and all of your Linux computer's communications with the monitor
go through that file.
• /etc : System configuration files.
• /home : Every user except root gets her own folder in here, named
for her login account. So, the user who logs in with linda has the
directory /home/linda, where all of her personal files are kept.
• /lib : System libraries. Libraries are just bunches of programming
code that the programs on your system use to get things done.
The most important subdirectories
inside the root directory are:
• /mnt : Mount points. When you temporarily load the contents of a
CD-ROM or USB drive, you typically use a special name under
/mnt. For example, many distributions (including Fedora) come, by
default, with the directory /mnt/cdrom, which is where your CD-
ROM drive's contents are made accessible.
• /root : The root user's home directory.
• /sbin : Essential commands that are only for the system
administrator.
• /tmp : Temporary files and storage space. Don't put anything in
here that you want to keep. Most Linux distributions (including
Fedora) are set up to delete any file that's been in this directory
longer than three days.
• /usr : Programs and data that can be shared across many systems
and don't need to be changed.
• /var : Data that changes constantly (log files that contain
information about what's happening on your system, data on its
way to the printer, and so on).
Home directory
• You can see what your home directory is called by
entering
• pwd (print current working directory)
Commands:
/ (root directory)
/root – home directory of the user root
pwd – you can see your home directory
df – to see disk space available
cd – to change to different directory or to go back to home dir
.. - move to parent directory
ls – list the contents of a directory; Options: -l (more info)
-a (displays hidden files)
-t (sort by time)
-r (oldest first)
Example: ls –ltr : display an long list of files that are sorted by time, display the oldest
ones first
Some of the basic commands you
should learn are the ones that help
you navigate the file system.
cp : copy one file to another
rm : remove a file
man : ask for the manual (or help) of a command
e.g. man cd ask for the manual of the command cd
cat : to show the content of a text file
e.g. cat abc.txt show the content of abc.txt
whoami : to show the username of the current user
Directory is denoted by a / (slash) character
Executable program by a *
Hidden file preceded by a . (dot)
Names in blue are directories, indicated by a
letter d at the beginning of the line
The concept of simple file and
directory is similar to DOS
Text editors
1. Emacs
2. VI editor
http://www.linux.ie/newusers/beginners-
linux-guide/
Linux
VI Editor
• Opens from terminal window
http://www.linux.ie/newusers/beginners-linux-guide/
!=
Linux is Not Windows
Problem #1: Linux isn't exactly the same as Windows.
Problem #2: Linux is too different from Windows
Problem #3: Culture shock
Problem #5: The myth of "user-friendly"
NJIT and Linux
• RedHat Enterprise Linux 2.6.9-55
• Open Office 2.3.0
SSH, Telnet
• SSH (Secure Shell) is a terminal emulation protocol that allows
a user to connect to a remote host via an encrypted and secure
link.
• You can download SSH® Secure Shell™ from the NJIT’s
Public Download Section. SSH® Secure Shell™ also contains
an FTP client.
• Telnet is a terminal emulation protocol that lets a user log in
remotely to other computers on the Internet; it has a command
line interface.
• You can download Tera Term Pro from the Public Download
Section or you can run Windows' telnet client by typing "telnet
afsx.njit.edu" from the "Run..." command in the Start Menu.
SSH Secure Shell
• Included License key must be imported.
– Start SSH client.
– Click Help.
– Select "Import License File."
– Browse to the location of the "license.dat" included in zip file.
Linux
Linux
X-Win32
• You can log in to the Linux computers by using X-Win
• Install X-Win on your computer (http://ist.njit.edu/software)
• Connect: Start – All Programs – X-Win32 8.2 – X-Win32

More Related Content

PPT
Linux
manikkan
 
PPTX
Linux opearting system ppt
OECLIB Odisha Electronics Control Library
 
PPTX
Introduction to linux
Luis Terron
 
ODP
An Introduction to Linux
anandvaidya
 
PDF
Linux Introduction
Libsoul Technologies Pvt. Ltd.
 
PPT
Linux for everyone
Pradeep Shankhwar
 
PPTX
Operating Systems 1: Introduction
Damian T. Gordon
 
PPTX
Operating systems linux
william_morg
 
Linux
manikkan
 
Linux opearting system ppt
OECLIB Odisha Electronics Control Library
 
Introduction to linux
Luis Terron
 
An Introduction to Linux
anandvaidya
 
Linux Introduction
Libsoul Technologies Pvt. Ltd.
 
Linux for everyone
Pradeep Shankhwar
 
Operating Systems 1: Introduction
Damian T. Gordon
 
Operating systems linux
william_morg
 

What's hot (20)

PPT
Introduction to Linux_by_Amit & Jiban
Amit Nath
 
PPTX
Programming and problem solving 3
sushruth kamarushi
 
PPT
Presentation1 linux os
joycoronado
 
PPTX
Operating Systems: Linux in Detail
Damian T. Gordon
 
PPTX
Introduction to Linux basic
f114n
 
PPTX
Introduction to linux ppt
Omi Vichare
 
PPT
UNIX and Linux - an introduction by Mathias Homann
Mathias Homann
 
PPT
BITS: Introduction to linux, distributions and installation
BITS
 
PPTX
Linux ppt
lincy21
 
PPTX
Linux distributions
RJ Mehul Gadhiya
 
PPTX
A History of Linux
Damian T. Gordon
 
ODP
Introduction to linux
plarsen67
 
PPTX
Introduction 2 linux
Papu Kumar
 
PPT
Linux seminar
Buntha Chhay
 
PDF
Linux programming lecture_notes
IMRAN KHAN
 
PPT
ppt on linux by MUKESH PATEL
neo_patel
 
PPTX
Linux vs windows
Rajan Kandel
 
PPT
Linux introduction
Islam Abo Amra
 
PPT
Linux
dwarfyray
 
PDF
Linux introduction
Md. Zahid Hossain Shoeb
 
Introduction to Linux_by_Amit & Jiban
Amit Nath
 
Programming and problem solving 3
sushruth kamarushi
 
Presentation1 linux os
joycoronado
 
Operating Systems: Linux in Detail
Damian T. Gordon
 
Introduction to Linux basic
f114n
 
Introduction to linux ppt
Omi Vichare
 
UNIX and Linux - an introduction by Mathias Homann
Mathias Homann
 
BITS: Introduction to linux, distributions and installation
BITS
 
Linux ppt
lincy21
 
Linux distributions
RJ Mehul Gadhiya
 
A History of Linux
Damian T. Gordon
 
Introduction to linux
plarsen67
 
Introduction 2 linux
Papu Kumar
 
Linux seminar
Buntha Chhay
 
Linux programming lecture_notes
IMRAN KHAN
 
ppt on linux by MUKESH PATEL
neo_patel
 
Linux vs windows
Rajan Kandel
 
Linux introduction
Islam Abo Amra
 
Linux
dwarfyray
 
Linux introduction
Md. Zahid Hossain Shoeb
 
Ad

Viewers also liked (8)

PDF
club course two - unix
shelling ford
 
DOCX
History of operating systems
One97 Communications Limited
 
PPT
Mca ii os u-5 unix linux file system
Rai University
 
PDF
History of linux
Shiwang Kalkhanda
 
PPTX
Unix ppt
sudhir saurav
 
PPTX
Unix operating system
ABhay Panchal
 
PPTX
UNIX/Linux training
Michael Olafusi
 
PPTX
Linux.ppt
onu9
 
club course two - unix
shelling ford
 
History of operating systems
One97 Communications Limited
 
Mca ii os u-5 unix linux file system
Rai University
 
History of linux
Shiwang Kalkhanda
 
Unix ppt
sudhir saurav
 
Unix operating system
ABhay Panchal
 
UNIX/Linux training
Michael Olafusi
 
Linux.ppt
onu9
 
Ad

Similar to Linux (20)

PPTX
Linux
Nikhil Dhiman
 
PDF
Introduction to linux
Prasanth V
 
PPT
Intro to linux
Ravi Prakash Giri
 
PPTX
Linux and its fundamentals
Agreeta Sharma
 
PDF
Linux introduction (eng)
Anatoliy Okhotnikov
 
DOCX
Linux technology
Prakash Poudel
 
PDF
Linux basic
Pragyagupta37
 
PDF
introductiontolinuxpptbatch2-141025005514-conversion-gate01 (1).pdf
EidTahir
 
PPTX
I Am Linux-Introductory Module on Linux
Sagar Kumar
 
PPT
OS Lab: Introduction to Linux
Motaz Saad
 
PDF
Module 3 Using Linux Softwares.
Tushar B Kute
 
DOCX
commands that's are commonly used in linux
Navdeep Bhuii
 
PPT
welcome to linux
Biswajit Ghosh
 
PDF
Before begining linux
Shiwang Kalkhanda
 
PPT
Presentation1 linux os(2)
Emerose Dela Torre
 
PPT
Presentation1 linux os
ruzzelarpon
 
PPT
Presentation1 linux os
alvarez khay-r m.
 
ODP
Intro to Linux 101 ver 1.1
linuxed
 
Introduction to linux
Prasanth V
 
Intro to linux
Ravi Prakash Giri
 
Linux and its fundamentals
Agreeta Sharma
 
Linux introduction (eng)
Anatoliy Okhotnikov
 
Linux technology
Prakash Poudel
 
Linux basic
Pragyagupta37
 
introductiontolinuxpptbatch2-141025005514-conversion-gate01 (1).pdf
EidTahir
 
I Am Linux-Introductory Module on Linux
Sagar Kumar
 
OS Lab: Introduction to Linux
Motaz Saad
 
Module 3 Using Linux Softwares.
Tushar B Kute
 
commands that's are commonly used in linux
Navdeep Bhuii
 
welcome to linux
Biswajit Ghosh
 
Before begining linux
Shiwang Kalkhanda
 
Presentation1 linux os(2)
Emerose Dela Torre
 
Presentation1 linux os
ruzzelarpon
 
Presentation1 linux os
alvarez khay-r m.
 
Intro to Linux 101 ver 1.1
linuxed
 

Recently uploaded (20)

PDF
Doc9.....................................
SofiaCollazos
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
Doc9.....................................
SofiaCollazos
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
The Future of Artificial Intelligence (AI)
Mukul
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 

Linux

  • 2. Overview • What is Unix/Linux? • History of Linux • Features Supported Under Linux • The future of Linux
  • 3. Before Linux • In 80’s, Microsoft’s DOS was the dominated OS for PC • Apple MAC was better, but expensive • UNIX was much better, but much, much more expensive. Only for minicomputer for commercial applications • People was looking for a UNIX based system, which is cheaper and can run on PC • Both DOS, MAC and UNIX were proprietary, i.e., the source code of their kernel is protected • No modification is possible without paying high license fees
  • 4. GNU project – Established in 1984 by Richard Stallman, who believes that software should be free from restrictions against copying or modification in order to make better and efficient computer programs GNU is a recursive acronym for “GNU's Not Unix” Aim at developing a complete Unix-like operating system which is free for copying and modification Companies make their money by maintaining and distributing the software, e.g. optimally packaging the software with different tools (Redhat, Slackware, Mandrake, SuSE, etc) Stallman built the first free GNU C Compiler in 1991. But still, an OS was yet to be developed
  • 5. Beginning of Linux – A famous professor Andrew Tanenbaum developed Minix, a simplified version of UNIX that runs on PC – Minix is for class teaching only. No intention for commercial use – In Sept 1991, Linus Torvalds, a second year student of Computer Science at the University of Helsinki, developed the preliminary kernel of Linux, known as Linux version 0.0.1
  • 6. Message from Professor Andrew Tanenbaum " I still maintain the point that designing a monolithic kernel in 1991 is a fundamental error. Be thankful you are not my student. You would not get a high grade for such a design :-)“ (Andrew Tanenbaum to Linus Torvalds) –Soon more than a hundred people joined the Linux camp. Then thousands. Then hundreds of thousands –It was licensed under GNU General Public License, thus ensuring that the source codes will be free for all to copy, study and to change.
  • 7. Linux Today – Linux has been used for many computing platforms – PC, PDA, Supercomputer,… – Not only character user interface but graphical user interface is available – Commercial vendors moved in Linux itself to provide freely distributed code. They make their money by compiling up various software and gathering them in a distributable format – Red Hat, Slackware, etc
  • 8. In order to encourage wide dissemination of his OS, Linus made the source code open to public. At the end of 1992 there were about a hundred Linux developers. Next year there were 1000. And the numbers multiplied every year. Recent estimates say about 29 million people use Linux worldwide. The effects of the dot-com bust, IT slowdown and global economic recession can be clearly seen. If you run Linux, add your machine at Linux Counter Source: The Linux Counter Linux: No of Users Growing and growing…
  • 10. Linux - free software • Free software, as defined by the FSF (Free Software Foundation), is a "matter of liberty, not price." To qualify as free software by FSF standards, you must be able to: – Run the program for any purpose you want to, rather than be restricted in what you can use it for. – View the program's source code. – Study the program's source code and modify it if you need to. – Share the program with others. – Improve the program and release those improvements so that others can use them.
  • 11. Red Hat Linux : One of the original Linux distribution. The commercial, nonfree version is Red Hat Enterprise Linux, which is aimed at big companies using Linux servers and desktops in a big way. (NJIT) Free version: Fedora Project. Debian GNU/Linux : A free software distribution. Popular for use on servers. However, Debian is not what many would consider a distribution for beginners, as it's not designed with ease of use in mind. SuSE Linux : SuSE was recently purchased by Novell. This distribution is primarily available for pay because it contains many commercial programs, although there's a stripped-down free version that you can download. Mandrake Linux : Mandrake is perhaps strongest on the desktop. Originally based off of Red Hat Linux. Gentoo Linux : Gentoo is a specialty distribution meant for programmers.
  • 13. Linux Distributions • http://www.linux.org/dist/list.html • http://fedora.redhat.com/
  • 14. Fedora Core • Fedora Core is a free operating system • http://ftp.ale.org/mirrors/fedora/linux/core/5/i386//iso/
  • 15. Other: •Debian •Mandrake •SuSE The right Linux desktop There are two major desktops in the Linux world: GNOME and KDE. What you're looking at in a default Fedora installation is a Red Hat-customized version of GNOME, called Bluecurve GNOME.
  • 16. A Web browser: Mozilla Email: XimianEvolution Word processor : OpenOffice.org Writer Presentation program : OpenOffice.org Impress
  • 17. Default Fedora Desktop The default desktop has three distinct areas. From top to bottom, the areas are: The menu panel The desktop area The window list panel
  • 18. The Menu Panel • Applications - The Applications menu contains a variety of icons that start software applications. It is similar to the Microsoft Windows Start menu. • Places - The Places menu contains a customizable list of directories, mounted volumes, recent documents, and a Search function. Volumes that are mounted may be external USB drives (flash, hard disk, CD, etc.), directories shared across a network, or other media devices such as a portable music player. • System - The System menu contains a variety of items.
  • 19. System menu • Log Out • About • Help • Lock Screen • Preferences • System Settings: configuration tools that are for administrative purposes and usually require root access; that is, when those applications are started, the root password must be entered to continue.
  • 20. • Mozilla Firefox web browser • Evolution mail client and personal information manager • OpenOffice.org Writer is a word processing program • OpenOffice.org Impress is for creating and giving presentations • OpenOffice.org Calc is a spreadsheet tool Note: There is another way to add an application launcher to the menu panel if the application is already listed in the Applications menu. Navigate to the application in the Applications menu, right-click on the application, and select Add this launcher to panel.
  • 21. The Desktop Area • Computer - This contains all volumes (or disks) mounted on the computer. These are also listed in the Places menu. Computer is equivalent to My Computer on Microsoft Windows. • Home - This is where the logged-in user stores all files by default, such as music, movies, and documents. There is a different home directory for each user, and by default users cannot access each others' home directories. Home is equivalent to My Documents on Microsoft Windows. • Trash - Deleted files are moved to Trash. Empty Trash by right-clicking the icon and clicking Empty Trash. To permanently delete a file and bypass the file's move to Trash, hold down the [Shift] key when deleting the file. Right-clicking on the desktop presents a menu of actions related to the desktop area. For example, clicking on Change Desktop Background lets you choose a different image or photograph to display on the desktop. It is possible to choose not to have any desktop background.
  • 26. Other software installed • Audio Player: The XMMS (X Multimedia System), which is used to play digital sound files • CD Player: The default CD player • Sound Juicer CD Ripper: Burn your own CDs • Messaging Client: GAIM supports AIM, MSN, ICQ, and many other popular IM networks • gFTP: Useful for grabbing files through FTP (File Transfer Protocol)
  • 28. Linux text-based interface command to show the content of current directory command to show the content of current directory with option -al The prompt $ shows that bash shell is using All LINUX commands start with the name of the command and can be followed by options and arguments.
  • 29. Linux Shell  Shell interprets the command and request service from kernel  Similar to DOS but DOS has only one set of interface while Linux can select different shell – Bourne Again shell (Bash), TC shell (Tcsh), Z shell (Zsh) Kernel Bash, Tcsh, Zsh ls pwd whoami  Different shell has similar but different functionality  Bash is the default for Linux  Graphical user interface of Linux is in fact an application program work on the shell
  • 31. Directory Tree (root) When you log on the the Linux OS using your username you are automatically located in your home directory.
  • 32. The most important subdirectories inside the root directory are: • /bin : Important Linux commands available to the average user. • /boot : The files necessary for the system to boot. Not all Linux distributions use this one. Fedora does. • /dev : All device drivers. Device drivers are the files that your Linux system uses to talk to your hardware. For example, there's a file in the /dev directory for your particular make and model of monitor, and all of your Linux computer's communications with the monitor go through that file. • /etc : System configuration files. • /home : Every user except root gets her own folder in here, named for her login account. So, the user who logs in with linda has the directory /home/linda, where all of her personal files are kept. • /lib : System libraries. Libraries are just bunches of programming code that the programs on your system use to get things done.
  • 33. The most important subdirectories inside the root directory are: • /mnt : Mount points. When you temporarily load the contents of a CD-ROM or USB drive, you typically use a special name under /mnt. For example, many distributions (including Fedora) come, by default, with the directory /mnt/cdrom, which is where your CD- ROM drive's contents are made accessible. • /root : The root user's home directory. • /sbin : Essential commands that are only for the system administrator. • /tmp : Temporary files and storage space. Don't put anything in here that you want to keep. Most Linux distributions (including Fedora) are set up to delete any file that's been in this directory longer than three days. • /usr : Programs and data that can be shared across many systems and don't need to be changed. • /var : Data that changes constantly (log files that contain information about what's happening on your system, data on its way to the printer, and so on).
  • 34. Home directory • You can see what your home directory is called by entering • pwd (print current working directory)
  • 35. Commands: / (root directory) /root – home directory of the user root pwd – you can see your home directory df – to see disk space available cd – to change to different directory or to go back to home dir .. - move to parent directory ls – list the contents of a directory; Options: -l (more info) -a (displays hidden files) -t (sort by time) -r (oldest first) Example: ls –ltr : display an long list of files that are sorted by time, display the oldest ones first Some of the basic commands you should learn are the ones that help you navigate the file system.
  • 36. cp : copy one file to another rm : remove a file man : ask for the manual (or help) of a command e.g. man cd ask for the manual of the command cd cat : to show the content of a text file e.g. cat abc.txt show the content of abc.txt whoami : to show the username of the current user Directory is denoted by a / (slash) character Executable program by a * Hidden file preceded by a . (dot)
  • 37. Names in blue are directories, indicated by a letter d at the beginning of the line The concept of simple file and directory is similar to DOS
  • 41. VI Editor • Opens from terminal window
  • 43. != Linux is Not Windows Problem #1: Linux isn't exactly the same as Windows. Problem #2: Linux is too different from Windows Problem #3: Culture shock Problem #5: The myth of "user-friendly"
  • 44. NJIT and Linux • RedHat Enterprise Linux 2.6.9-55 • Open Office 2.3.0
  • 45. SSH, Telnet • SSH (Secure Shell) is a terminal emulation protocol that allows a user to connect to a remote host via an encrypted and secure link. • You can download SSH® Secure Shell™ from the NJIT’s Public Download Section. SSH® Secure Shell™ also contains an FTP client. • Telnet is a terminal emulation protocol that lets a user log in remotely to other computers on the Internet; it has a command line interface. • You can download Tera Term Pro from the Public Download Section or you can run Windows' telnet client by typing "telnet afsx.njit.edu" from the "Run..." command in the Start Menu.
  • 46. SSH Secure Shell • Included License key must be imported. – Start SSH client. – Click Help. – Select "Import License File." – Browse to the location of the "license.dat" included in zip file.
  • 49. X-Win32 • You can log in to the Linux computers by using X-Win • Install X-Win on your computer (http://ist.njit.edu/software) • Connect: Start – All Programs – X-Win32 8.2 – X-Win32