Hi friends,
I have few doubts, they are .......
1. In any scripting language (bash, ksh, ..etc) # indicates the comment right. But in the first line for any script we need to start some thing like #!/bin/bash or
#!/bin/ksh.
Here I think # is not a comment. But how the system will identify The # in the first line is not a comment and in other lines is a comment?
2. What is $? is
3. What $1 returns ? Will it return the second variable value?
For the above queries I have tried in www.google.com and http://vivisimo.com/ . But I coudnt find useful info.
Please some one in our mailing list let me know the answers.
Thanks and rgds,
Prasad Rao.
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. Visit us at http://www.cognizant.com