Home » Infrastructure » Unix » what is the need to keep #! /bin/ksh in every script?
what is the need to keep #! /bin/ksh in every script? [message #98626] Wed, 09 February 2005 03:46 Go to next message
Naveen Verma
Messages: 60
Registered: August 2004
Member
Hi
I found #! /bin/ksh in each and every script.
plz tell me the use of it.

Regards
Verma
Re: what is the need to keep #! /bin/ksh in every script? [message #98627 is a reply to message #98626] Wed, 09 February 2005 04:00 Go to previous messageGo to next message
Frank Naude
Messages: 4566
Registered: April 1998
Senior Member
Hi,

It instructs the operating system to use /bin/ksh (Korn Shell) to execute/interpret the statements within the file.

Best regards.

Frank
Thank you very much Mr Frank [message #98628 is a reply to message #98627] Wed, 09 February 2005 19:57 Go to previous message
Naveen Verma
Messages: 60
Registered: August 2004
Member
Hi Frank
Thank you very much for your immediate response.

Regards
Verma
Previous Topic: Please advise immediately
Next Topic: Accessing SQL*plus from a unix Account
Goto Forum:
  


Current Time: Sat Jan 16 08:48:42 CST 2021