SlideShare a Scribd company logo
Module-3 Linux Softwares and UseModule-3 Linux Softwares and Use
Tushar B Kute
tushar@tusharkute.com
http://snashlug.org
contact@snashlug.org
Other:
•Ubuntu
•Mandriva
•SuSE
The right Linux desktop
There are two major desktops in the Linux world: GNOME
and KDE.
Other are: Xmonad, Xfce, Xubuntu
A Web browser: Mozilla Firefox, Google Chrome
Email: Mozilla Thunderbird
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 Desktop AreaThe 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.
OfficeOffice
SoftwareSoftware
word processor,
spreadsheet,
presentation and
database application
Calc
Writer
Impress
Web Browser:Web Browser: Firefox
Module 3 Using Linux Softwares.
OOo Draw:OOo Draw: Drawing
Module 3 Using Linux Softwares.
Other software installedOther software installed
●
vlc media player.
●
qmmp audio player.
●
Cheese.
●
Inkscape
●
Gimp
●
K3b
●
Wine
●
Latex
●
Gambas
●
Kazam
Terminal Window
4 MONITORS
Linux text-based interfaceLinux 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 ShellLinux 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 managementFile management
Directory TreeDirectory Tree
(root)
When you log on the the
Linux OS using your
username you are
automatically located in
your home directory.
The most important subdirectoriesThe most important subdirectories
inside the root directory are: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 subdirectoriesThe most important subdirectories
inside the root directory are: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 directoryHome 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 editorsText editors
1. Emacs
2. VI editor
3. gedit
Advanced editorsAdvanced editors
1. Netbeans.
2. Eclipse.
One way to install: Package Install tool
Go to "System->Administration->Synaptic Package Manager"
1. Put the keyword in the "Quick Search" Box
2. Click "Search"
3. Browse and look for the software package
4. Right click it and Select "Mark for Installation"
5. Click the button "Apply"
It looks for the packages on the Ubuntu Repository server and
download, install, configure the software automatically for you.
i.e. Try to install wireshark
Another way to install: Binary Install
Look for the software on the Internet
Download the prebuilt binary
Follow the installation instructions
if it is .deb package, double click and install it
if it is a self-extrating package, make it executable and run it
Try to install chrome browser
One more way: Command Line
There is a command for install the package: "apt-get"
• Open a terminal window
Click "Applications->Accessories->Terminal"
• Search a package and get the package name
Type on the terminal "apt-cache search xxxxx | more"
Notes: press "Space bar" to display next page
• Install a package from Internet
Type the command "sudo apt-get install xxxx"
Notes: You may be asked to your login password
You also may be asked "Y/N" for confirmation
i.e. Try to install gdb, Java, etc.
The last way to install
Download the source code
Compile and install it, using the command "make install"
That's how you programmed and executed it.
!=
Linux is Not WindowsLinux 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
This presentation is created using LibreOffice Writer 4.1.0.4 available freely
under GNU public license.
Thank you
Ad

Recommended

Module 1 introduction to Linux
Module 1 introduction to Linux
Tushar B Kute
 
Introduction to Linux
Introduction to Linux
Harish R
 
Introduction to linux at Introductory Bioinformatics Workshop
Introduction to linux at Introductory Bioinformatics Workshop
Setor Amuzu
 
Module 4 Embedded Linux
Module 4 Embedded Linux
Tushar B Kute
 
Introduction to Linux for bioinformatics
Introduction to Linux for bioinformatics
BITS
 
Linux history & features
Linux history & features
Rohit Kumar
 
Linux.ppt
Linux.ppt
onu9
 
Linux
Linux
Patruni Chidananda Sastry
 
Linux Presentation
Linux Presentation
Muhammad Qazi
 
An Introduction To Linux
An Introduction To Linux
Ishan A B Ambanwela
 
Linux Presentation
Linux Presentation
nishantsri
 
Linux: Basics OF Linux
Linux: Basics OF Linux
Omkar Walavalkar
 
Linux fundamentals
Linux fundamentals
Raghu nath
 
Linux basics
Linux basics
Santosh Khadsare
 
Linux training
Linux training
Parker Fong
 
Techbuddy: Introduction to Linux session
Techbuddy: Introduction to Linux session
Ashish Bhatia
 
Linux
Linux
Kevin James
 
Introduction to Linux basic
Introduction to Linux basic
f114n
 
Linux
Linux
SiliconExpert Technologies
 
Linux programming lecture_notes
Linux programming lecture_notes
IMRAN KHAN
 
Linux operating system ppt
Linux operating system ppt
Achyut Sinha
 
Linux Introduction (Commands)
Linux Introduction (Commands)
anandvaidya
 
A Quick Introduction to Linux
A Quick Introduction to Linux
Tusharadri Sarkar
 
Introduction to linux
Introduction to linux
Prasanth V
 
Linux ppt
Linux ppt
lincy21
 
UNIX introduction
UNIX introduction
MUFIX Community
 
Linux introduction
Linux introduction
Md. Zahid Hossain Shoeb
 
Linux introduction, class 1
Linux introduction, class 1
Adrian Mikeliunas
 
File system discovery
File system discovery
DevMix
 
Linux week 2
Linux week 2
Vinoth Sn
 

More Related Content

What's hot (20)

Linux Presentation
Linux Presentation
Muhammad Qazi
 
An Introduction To Linux
An Introduction To Linux
Ishan A B Ambanwela
 
Linux Presentation
Linux Presentation
nishantsri
 
Linux: Basics OF Linux
Linux: Basics OF Linux
Omkar Walavalkar
 
Linux fundamentals
Linux fundamentals
Raghu nath
 
Linux basics
Linux basics
Santosh Khadsare
 
Linux training
Linux training
Parker Fong
 
Techbuddy: Introduction to Linux session
Techbuddy: Introduction to Linux session
Ashish Bhatia
 
Linux
Linux
Kevin James
 
Introduction to Linux basic
Introduction to Linux basic
f114n
 
Linux
Linux
SiliconExpert Technologies
 
Linux programming lecture_notes
Linux programming lecture_notes
IMRAN KHAN
 
Linux operating system ppt
Linux operating system ppt
Achyut Sinha
 
Linux Introduction (Commands)
Linux Introduction (Commands)
anandvaidya
 
A Quick Introduction to Linux
A Quick Introduction to Linux
Tusharadri Sarkar
 
Introduction to linux
Introduction to linux
Prasanth V
 
Linux ppt
Linux ppt
lincy21
 
UNIX introduction
UNIX introduction
MUFIX Community
 
Linux introduction
Linux introduction
Md. Zahid Hossain Shoeb
 
Linux introduction, class 1
Linux introduction, class 1
Adrian Mikeliunas
 

Similar to Module 3 Using Linux Softwares. (20)

File system discovery
File system discovery
DevMix
 
Linux week 2
Linux week 2
Vinoth Sn
 
Linux
Linux
Sivashankari Sivanantham
 
3. introduction of centos
3. introduction of centos
Mohd yasin Karim
 
File system discovery
File system discovery
MOHAMED Elshawaf
 
Introduction to Linux OS (Part 1) - Tutorial
Introduction to Linux OS (Part 1) - Tutorial
Faculty of Computers and Informatics, Suez Canal University, Ismailia, Egypt
 
Linux
Linux
manikkan
 
Unix/Linux Basic Commands and Shell Script
Unix/Linux Basic Commands and Shell Script
sbmguys
 
beginner.en.print
beginner.en.print
Aniruddh Tyagi
 
beginner.en.print
beginner.en.print
aniruddh Tyagi
 
beginner.en.print
beginner.en.print
aniruddh Tyagi
 
Linux administration training
Linux administration training
iman darabi
 
Linux
Linux
Giridaran Manivannan
 
Linux Directory Structure
Linux Directory Structure
Kevin OBrien
 
Linux introduction (eng)
Linux introduction (eng)
Anatoliy Okhotnikov
 
Ppt
Ppt
padmajanathan
 
Linux
Linux
SiliconExpert Technologies
 
Lamp1
Lamp1
Reka
 
Lamp
Lamp
Reka
 
Lamp1
Lamp1
Nadhi ya
 
Ad

More from Tushar B Kute (20)

ॲलन ट्युरिंग: कृत्रिम बुद्धिमत्तेचा अग्रदूत - लेखक: तुषार भ. कुटे.pdf
ॲलन ट्युरिंग: कृत्रिम बुद्धिमत्तेचा अग्रदूत - लेखक: तुषार भ. कुटे.pdf
Tushar B Kute
 
Apache Pig: A big data processor
Apache Pig: A big data processor
Tushar B Kute
 
01 Introduction to Android
01 Introduction to Android
Tushar B Kute
 
Ubuntu OS and it's Flavours
Ubuntu OS and it's Flavours
Tushar B Kute
 
Install Drupal in Ubuntu by Tushar B. Kute
Install Drupal in Ubuntu by Tushar B. Kute
Tushar B Kute
 
Install Wordpress in Ubuntu Linux by Tushar B. Kute
Install Wordpress in Ubuntu Linux by Tushar B. Kute
Tushar B Kute
 
Share File easily between computers using sftp
Share File easily between computers using sftp
Tushar B Kute
 
Signal Handling in Linux
Signal Handling in Linux
Tushar B Kute
 
Implementation of FIFO in Linux
Implementation of FIFO in Linux
Tushar B Kute
 
Implementation of Pipe in Linux
Implementation of Pipe in Linux
Tushar B Kute
 
Basic Multithreading using Posix Threads
Basic Multithreading using Posix Threads
Tushar B Kute
 
Part 04 Creating a System Call in Linux
Part 04 Creating a System Call in Linux
Tushar B Kute
 
Part 03 File System Implementation in Linux
Part 03 File System Implementation in Linux
Tushar B Kute
 
Part 02 Linux Kernel Module Programming
Part 02 Linux Kernel Module Programming
Tushar B Kute
 
Part 01 Linux Kernel Compilation (Ubuntu)
Part 01 Linux Kernel Compilation (Ubuntu)
Tushar B Kute
 
Open source applications softwares
Open source applications softwares
Tushar B Kute
 
Introduction to Ubuntu Edge Operating System (Ubuntu Touch)
Introduction to Ubuntu Edge Operating System (Ubuntu Touch)
Tushar B Kute
 
Unit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B Kute
Unit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B Kute
Tushar B Kute
 
Technical blog by Engineering Students of Sandip Foundation, itsitrc
Technical blog by Engineering Students of Sandip Foundation, itsitrc
Tushar B Kute
 
Chapter 01 Introduction to Java by Tushar B Kute
Chapter 01 Introduction to Java by Tushar B Kute
Tushar B Kute
 
ॲलन ट्युरिंग: कृत्रिम बुद्धिमत्तेचा अग्रदूत - लेखक: तुषार भ. कुटे.pdf
ॲलन ट्युरिंग: कृत्रिम बुद्धिमत्तेचा अग्रदूत - लेखक: तुषार भ. कुटे.pdf
Tushar B Kute
 
Apache Pig: A big data processor
Apache Pig: A big data processor
Tushar B Kute
 
01 Introduction to Android
01 Introduction to Android
Tushar B Kute
 
Ubuntu OS and it's Flavours
Ubuntu OS and it's Flavours
Tushar B Kute
 
Install Drupal in Ubuntu by Tushar B. Kute
Install Drupal in Ubuntu by Tushar B. Kute
Tushar B Kute
 
Install Wordpress in Ubuntu Linux by Tushar B. Kute
Install Wordpress in Ubuntu Linux by Tushar B. Kute
Tushar B Kute
 
Share File easily between computers using sftp
Share File easily between computers using sftp
Tushar B Kute
 
Signal Handling in Linux
Signal Handling in Linux
Tushar B Kute
 
Implementation of FIFO in Linux
Implementation of FIFO in Linux
Tushar B Kute
 
Implementation of Pipe in Linux
Implementation of Pipe in Linux
Tushar B Kute
 
Basic Multithreading using Posix Threads
Basic Multithreading using Posix Threads
Tushar B Kute
 
Part 04 Creating a System Call in Linux
Part 04 Creating a System Call in Linux
Tushar B Kute
 
Part 03 File System Implementation in Linux
Part 03 File System Implementation in Linux
Tushar B Kute
 
Part 02 Linux Kernel Module Programming
Part 02 Linux Kernel Module Programming
Tushar B Kute
 
Part 01 Linux Kernel Compilation (Ubuntu)
Part 01 Linux Kernel Compilation (Ubuntu)
Tushar B Kute
 
Open source applications softwares
Open source applications softwares
Tushar B Kute
 
Introduction to Ubuntu Edge Operating System (Ubuntu Touch)
Introduction to Ubuntu Edge Operating System (Ubuntu Touch)
Tushar B Kute
 
Unit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B Kute
Unit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B Kute
Tushar B Kute
 
Technical blog by Engineering Students of Sandip Foundation, itsitrc
Technical blog by Engineering Students of Sandip Foundation, itsitrc
Tushar B Kute
 
Chapter 01 Introduction to Java by Tushar B Kute
Chapter 01 Introduction to Java by Tushar B Kute
Tushar B Kute
 
Ad

Recently uploaded (20)

9-1-1 Addressing: End-to-End Automation Using FME
9-1-1 Addressing: End-to-End Automation Using FME
Safe Software
 
Securing AI - There Is No Try, Only Do!.pdf
Securing AI - There Is No Try, Only Do!.pdf
Priyanka Aash
 
10 Key Challenges for AI within the EU Data Protection Framework.pdf
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
 
"Database isolation: how we deal with hundreds of direct connections to the d...
"Database isolation: how we deal with hundreds of direct connections to the d...
Fwdays
 
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
caoyixuan2019
 
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
Edge AI and Vision Alliance
 
The Future of Product Management in AI ERA.pdf
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 
Connecting Data and Intelligence: The Role of FME in Machine Learning
Connecting Data and Intelligence: The Role of FME in Machine Learning
Safe Software
 
The Future of Technology: 2025-2125 by Saikat Basu.pdf
The Future of Technology: 2025-2125 by Saikat Basu.pdf
Saikat Basu
 
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
Priyanka Aash
 
Curietech AI in action - Accelerate MuleSoft development
Curietech AI in action - Accelerate MuleSoft development
shyamraj55
 
AI Agents and FME: A How-to Guide on Generating Synthetic Metadata
AI Agents and FME: A How-to Guide on Generating Synthetic Metadata
Safe Software
 
OWASP Barcelona 2025 Threat Model Library
OWASP Barcelona 2025 Threat Model Library
PetraVukmirovic
 
Daily Lesson Log MATATAG ICT TEchnology 8
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
 
Cyber Defense Matrix Workshop - RSA Conference
Cyber Defense Matrix Workshop - RSA Conference
Priyanka Aash
 
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Safe Software
 
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
 
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Priyanka Aash
 
OpenPOWER Foundation & Open-Source Core Innovations
OpenPOWER Foundation & Open-Source Core Innovations
IBM
 
9-1-1 Addressing: End-to-End Automation Using FME
9-1-1 Addressing: End-to-End Automation Using FME
Safe Software
 
Securing AI - There Is No Try, Only Do!.pdf
Securing AI - There Is No Try, Only Do!.pdf
Priyanka Aash
 
10 Key Challenges for AI within the EU Data Protection Framework.pdf
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
 
"Database isolation: how we deal with hundreds of direct connections to the d...
"Database isolation: how we deal with hundreds of direct connections to the d...
Fwdays
 
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
caoyixuan2019
 
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
Edge AI and Vision Alliance
 
The Future of Product Management in AI ERA.pdf
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 
Connecting Data and Intelligence: The Role of FME in Machine Learning
Connecting Data and Intelligence: The Role of FME in Machine Learning
Safe Software
 
The Future of Technology: 2025-2125 by Saikat Basu.pdf
The Future of Technology: 2025-2125 by Saikat Basu.pdf
Saikat Basu
 
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
Priyanka Aash
 
Curietech AI in action - Accelerate MuleSoft development
Curietech AI in action - Accelerate MuleSoft development
shyamraj55
 
AI Agents and FME: A How-to Guide on Generating Synthetic Metadata
AI Agents and FME: A How-to Guide on Generating Synthetic Metadata
Safe Software
 
OWASP Barcelona 2025 Threat Model Library
OWASP Barcelona 2025 Threat Model Library
PetraVukmirovic
 
Daily Lesson Log MATATAG ICT TEchnology 8
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
 
Cyber Defense Matrix Workshop - RSA Conference
Cyber Defense Matrix Workshop - RSA Conference
Priyanka Aash
 
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Safe Software
 
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
 
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Priyanka Aash
 
OpenPOWER Foundation & Open-Source Core Innovations
OpenPOWER Foundation & Open-Source Core Innovations
IBM
 

Module 3 Using Linux Softwares.

  • 1. Module-3 Linux Softwares and UseModule-3 Linux Softwares and Use Tushar B Kute [email protected] http://snashlug.org [email protected]
  • 2. Other: •Ubuntu •Mandriva •SuSE The right Linux desktop There are two major desktops in the Linux world: GNOME and KDE. Other are: Xmonad, Xfce, Xubuntu
  • 3. A Web browser: Mozilla Firefox, Google Chrome Email: Mozilla Thunderbird Word processor : OpenOffice.org Writer Presentation program : OpenOffice.org Impress
  • 4. 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
  • 5. The Desktop AreaThe 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.
  • 14. Other software installedOther software installed ● vlc media player. ● qmmp audio player. ● Cheese. ● Inkscape ● Gimp ● K3b ● Wine ● Latex ● Gambas ● Kazam
  • 16. Linux text-based interfaceLinux 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.
  • 17. Linux ShellLinux 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
  • 19. Directory TreeDirectory Tree (root) When you log on the the Linux OS using your username you are automatically located in your home directory.
  • 20. The most important subdirectoriesThe most important subdirectories inside the root directory are: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.
  • 21. The most important subdirectoriesThe most important subdirectories inside the root directory are: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).
  • 22. Home directoryHome directory ● You can see what your home directory is called by entering • pwd (print current working directory)
  • 23. 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.
  • 24. 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)
  • 25. 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
  • 26. Text editorsText editors 1. Emacs 2. VI editor 3. gedit Advanced editorsAdvanced editors 1. Netbeans. 2. Eclipse.
  • 27. One way to install: Package Install tool Go to "System->Administration->Synaptic Package Manager" 1. Put the keyword in the "Quick Search" Box 2. Click "Search" 3. Browse and look for the software package 4. Right click it and Select "Mark for Installation" 5. Click the button "Apply" It looks for the packages on the Ubuntu Repository server and download, install, configure the software automatically for you. i.e. Try to install wireshark
  • 28. Another way to install: Binary Install Look for the software on the Internet Download the prebuilt binary Follow the installation instructions if it is .deb package, double click and install it if it is a self-extrating package, make it executable and run it Try to install chrome browser
  • 29. One more way: Command Line There is a command for install the package: "apt-get" • Open a terminal window Click "Applications->Accessories->Terminal" • Search a package and get the package name Type on the terminal "apt-cache search xxxxx | more" Notes: press "Space bar" to display next page • Install a package from Internet Type the command "sudo apt-get install xxxx" Notes: You may be asked to your login password You also may be asked "Y/N" for confirmation i.e. Try to install gdb, Java, etc.
  • 30. The last way to install Download the source code Compile and install it, using the command "make install" That's how you programmed and executed it.
  • 31. != Linux is Not WindowsLinux 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
  • 32. This presentation is created using LibreOffice Writer 4.1.0.4 available freely under GNU public license. Thank you