[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Shell Scripting (Was Re: [LIH] at problem)

"Lakshmi B. G." wrote:
> What do you mean by /bin/sh?

The shell which normally resides in the /bin directory.

> I have created a small file called l.txt which has simple 2 statements
> /bin/sh
> cd /usr/local

To do what u want to do do:

	cd /usr/local

This says that one should use /bin/sh to interpret the remaining part of
the script.

Refer to Stephen Prata's "Advanced Unix - A Programmer's Guide" for lots
of useful stuff on shell programming. Cheap and good book.