Introductory Linux Course
Introductory Linux Course
1.What is Linux
Linus Torvalds developed Linux in 1991. It was intended to be a free version of UNIX for Intel
based PC platforms, and as such Linus released the source code to the computer community in
March of 1992. Since then, Linux has grown to become the collective work of thousands of
programmers worldwide, all of whom place their work under the GNU free usage license.
Linux system (fig.) is composed of three main parts of code: Kernel, system libraries, and
system utilities (management tasks: NW connection or login request from terminals).
1/6
Introductory Linux Course
freely available on the Internet. You can save yourself some time and get CD-ROM or floppy-
disk distributions from several commercial vendors.
• The most important advantage of using Linux is that you get to work with an honest-to-
goodness kernel. All of the kernel source code is available for Linux, and you have the ability
to modify it to suit your needs. Looking at the kernel code is an educational experience in
itself.
• Disadvantage
some of the hardware in your machine may not be supported by Linux. Again, your choices
are to either write the driver software yourself or get it from somewhere else. You have to
spend some time and effort managing your Linux machine.
Linux partitioning
2/6
Introductory Linux Course
1. The kernel
The kernel is the heart of the system. It manages the communication between the underlying
hardware and the peripherals. The kernel also makes sure that processes and daemons (server
processes) are started and stopped at the exact right times. The kernel has a lot of other important
tasks, so many that there is a special kernel-development mailing list on this subject only, where
huge amounts of information are shared. It would lead us too far to discuss the kernel in detail. For
now it suffices to know that the kernel is the most important file on the system.
2. The shell
What is a shell?
"A shell manages the interaction between the system and its users". A shell is much more than
that. A shell can best be compared with a way of talking to the computer, a language. Most users do
know that other language, the click-and-point language of the desktop. But in that language the user
is treated as a baby, asked to pick from what is presented to him.
The shell, on the other hand, is an advanced way of communicating with the system, because it
allows for conversation and taking initiative. Both partners in the communication are equal, so new
ideas can be tested.
Linux Login
On command line prompts the # character usually specifically indicates that you're logged in as
root, and the $ sign is used for regular user.
3/6
Introductory Linux Course
4/6
Introductory Linux Course
5/6
Introductory Linux Course
Directory commands
cd - Change the working directory
find - Find a file by name or by other characteristics
mkdir - Make a directory
rmdir - Remove a directory
Display commands
date - Print the date and time
finger - Display information about a user
head - Display the first few lines of a file
less - Browse a text file
ls - List the contents of a directory
man - Display a reference manual page
more - Display a text file
pwd - Display the working directory pathname
tail - Display the end of a file
who - Display who is on the system
Process commands
exit - Terminate a process
kill - Terminate or send a signal to a process
passwd - Create or change a password
ps - Display the status of a process
telnet - Connect to a remote system using the Telnet protocol
6/6