Learn UNIX by Examples

First edition

Wahid Lutfy

Chapter 5

UNIX Shell Programming


In this chapter you will learn about UNIX Shell Programming.
You can display the contents of each script and run it to see how it works.

Shell ScriptDisplay the script contentRun the script
The foreach.csh scriptcat foreach.csh./foreach.csh
The if-args.sh scriptcat if-args.sh./if-args.sh 10 10
The if-args.sh scriptcat if-args.sh./if-args.sh 100 200
The if-args.sh scriptcat if-args.sh./if-args.sh 1000 1000
The if-args.sh scriptcat if-args.sh./if-args.sh 5 5
The if-args.sh scriptcat if-args.sh./if-args.sh 5000 4999
The if-args.sh scriptcat if-args.sh./if-args.sh 5
The if-args.sh scriptcat if-args.sh./if-args.sh
The if-smaller-number.sh scriptcat if-smaller-number.sh./if-smaller-number.sh
The if.csh scriptcat if.csh./if.csh
The if-statement.sh scriptcat if-statement.sh./if-statement.sh


Previous    Table Of Contents    Next

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™