what is this line in the shell script do ?#!/bin/ksh

Answer Posted / him

It specifies that shell script will execute under ksh shell
Bsically this first line of shell script specifies the path
of interpreter that will interprete the shell script.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In my bash shell I want my prompt to be of format '$"present working directory":"hostname"> and load a file containing a list of user-defined functions as soon as I log in, how will you automate this?

852


how to get part of string variable with echo command only?

784


c program to display the information of given file similar to givan by the unix or linux command ls -l

1949


How do I debug a shell script?

825


What is $1 in shell scripting?

814


How can any user find out all information about a specific user like his default shell, real-life name, default directory, when and how long he has been using the system?

919


What is scripting autism?

943


I have 2 files and I want to print the records which are common to both.

934


How to get script name inside a script?

770


Can you write a script to portray how set –x works?

780


What does chmod do?

772


Explain about the exit command?

764


What does it mean to debug a script?

806


What does echo mean in scripting?

802


What is a boot block?

774