1

shell scripts are still working without #!(sha-bang line)

view story
linux-howto

http://unix.stackexchange.com – I am new to shell scripts and many books have written that use #!(sha-bang) line in starting of the script to invoke the interpreter .And this will invoke a new shell for script and do the interpretation line by line.But one of my basic script is still running without the magic line. so my questions are: from where did my basic script get the interpreter. how did the script manages to locate the interpreter. now let me tell you about my basic script it just contains the following line: echo "basic script without the magic lines" (HowTos)