using #!


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting using #!
# 1  
Old 04-21-2012
using #!

What will happen if we use #! /bin/ksh or something like that in the middle of the script instead of using it at the very first line of the script ?
# 2  
Old 04-21-2012
Nothing. That would be a simple comment.
# 3  
Old 04-22-2012
and you'll be using the current shell as the interpreter...
# 4  
Old 04-24-2012
Bug thanks

Thank you friends
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question