Feleke Linux Basic Concepts
Feleke Linux Basic Concepts
Computational Sciences
Learning Objectives
• Run Applications - Another job the OS does is run application software. This
would include word processors, web browsers, games, etc...
– Single User
– Multi User
Processing
– Uni-processing
– Multi-processing
Timesharing
Written in 1969
Monolithic kernel
Terminology
Sh – simple shell
BASH – Bourne Again Shell
KSH – Korne Shell
CSH – C Shell
SSH – Secure Shell
To use a particular shell, type the shell name at the command prompt.
o Eg $csh – will switch the current shell to c shell
To view the available shells in the system, type cat /etc/shells at the command
prompt
To view the current shell that is being used, type echo $SHELL at the command
prompt
Applications
Desktop Environment
X11 GUI
Shell/CLI
Kernel
Hardware
The Kernel - handles memory management, input and output requests, and program
scheduling. Technically speaking, the kernel is the OS. It provides the basic software
connection to the hardware. The kernel is very complex and deals with the inner
workings of these things, and is beyond the scope of this course.
The Shell and Graphical User Interfaces (GUIs) - basic UNIX shells provides a
“command line” interface which allows the user to type-in commands. These commands
are translated by the shell into something the kernel can comprehend, and then executed
by the kernel.
The Built-in System Utilities - are programs that allow a user to perform tasks which
involve complex actions. Utilities provide user interface functions that are basic to an
operating system, but which are too complex to be built into the shell. Examples of
utilities are programs that let us see the contents of a directory, move & copy files, remove
files, etc...
Application Software & Utilities – these are not part of the operating system. They are
additional programs that are bundled with the OS distribution, or available separately.
These can range from additional or different versions of basic utilities, to full scale
commercial applications.
– 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.
Personal Workstation
Three-tier Client/Server
Turnkey System
Embed
ded Raspb Tablet
Watch Device erry Pi
s s
es
Laptop Phone
s s
Corel Linux
Debian GNU/Linux
OpenLinux (Caldera)
Red Hat
Novell’s SUSE Linux
TurboLinux
Fedora
Ubuntu
Mandrake
Slackware
March,
2012
a) Financial Differences
COST
LINUX WINDOWS
Online Downloads Free Not Available
Retail Price, CD $50 $300
b) Technical Differences
Keeping up to date
– By Upgrading
– Linux upgrades faster than Windows
Compatibility
c) End-User Differences
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.
UNIX/Linux starts its highest level at “/” (also called root) and drives can be
mounted anywhere underneath it.
Compilers
– C compiler - gcc
– C++ compiler - g++
– Java compiler & Java Virtual Machine - javac & java
Debuggers
– Perl - perl
– Tcl/Tk - tcl & wish
– Web Browsers - Mozilla, Netscape, Firefox, and Lynx (lynx is text based)
– Instant Messengers - Gaim
– Email - Netscape is there, but we will learn Pine