Shell Scripting with Linux/Unix 

Linux/Unix Shell Scripting.    

This is going to be a series of tutorials and articles in guiding novice and beginners to effective Linux Unix Shell Scripting. I will try to add a new topic or an article every week emphasing on the conceptual details and providing sufficient examples. 


In my free time, I also intend to add installing Ubuntu on external hard drive, optimizing Ubuntu with the i686 kernel and tips and tricks for the fire fox browser.  


I will begin this week with the basics:  



1) Steps for installing firestarter (fire wall) on Ubuntu 5.10 

2) Probability and Random Processes course problems

3) Shell Scripting with Linux/Unix ( Part 2)

4) Mathematical Software( Plotting 2-D graphs in Mathcad)

5) Computer Security ( Bell LaPadula Model)

6) Explicit and Implicit DLL Linking

7) VirtualFunctions C++

8) AIA Week 5

9) AIA Week 6

10) Requirements

11) Resume Builder

12) Field Hiding and Method Overriding

In a nutshell the Linux operating system is made up of two major components. The kernel and the utilities. The RAM of your computer is divided in two such components. Part of the RAM is utilized in storing the kernel and the other part in storing user run utilities or applications. When ever you request to run an user application such as open office, it is brought from the secondary memory ( hard disk) to the main memory ( RAM) .

The Linux shell ( bash, csh...) is a utility program too. When the user requests by clicking on terminal it is brought into main memory for execution.

I will try to stick with the bash shell as much as possible in this and in tutorials to follow.

Some basic commands: ( you can get information about these commands by typing the following on your terminal:

$ man command

where command is the command you wish to get more detailed information)

$ date

as you guessed, the date command simplies print the date and time on your terminal.

$ who

the who command will display all the users logged onto the system.

output from the who command will be like this:

jack tty10 May 2 14:01

mary tty37 May 2 10:34

$ who am i

jack tty10 May 2 14:01

who am i can be used to get information about yourself. As explained later in the tutorial, 'am' and 'i' are arguments to the who command.

Browse Happy logo