how will u execute a file in unix

Answer Posted / narendrasairam

Depending on the type of shell you can execute a file in
either of the ways
1) ksh <filename>
2) sh <filename>
If the file already possess execute bit set on it, then you
can directly execute the file with its name alone
1) <filename>

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain command to show the space allocation of files?

631


What is a bash command?

627


What are file commands?

655


What is merge command in unix?

946


What is ctrl d?

596






What difference between cmp and diff commands?

724


What is used to type command?

544


What is updatedb?

588


What is the difference between cat command and more command?

599


How do I delete files from command prompt?

554


Why is shebang used?

598


Who wrote grep?

587


Who invented grep?

653


How to display no of records in oracle using unix command?

589


What is .sh file?

624