UNSW   Faculty of Engineering PRINT VERSION SITE MAP  
cse | School of Computer Science and Engineering (CRICOS Provider No. 00098G)
    #About CSE     #Undergraduate Study     #Postgraduate Study     #Timetables & Courses     #Research & Publications     #People & Work Units     #Help & Resources     #News & Events     #High School Portal

Last updated 28.09.06

Creating commands and programs using the shell

As well as using the shell to run commands you can use its built-in programming language to write your own commands or programs. You can put commands into a file - known as a shell script - and then execute that file as you would a command or program.

The use of the Bourne shell (sh) is illustrated as this is available on all UNIX systems. Bourne shell scripts will also work under the Bourne Again SHell. The C and TC shells use a programming language which is similar to the C programming language.

See also


[Home] [Search] [Index] This site maintained by webmaster@cse.unsw.edu.au
Top Of Page

 ###
Site maintained by webmistress@cse.unsw.edu.au
Please read the UNSW Copyright & Disclaimer Statement