[NTLUG:Discuss] Easy (for someone besides me) shell script question
David Ross
davidross at classicnet.net
Tue Dec 28 20:05:18 CST 2004
On Tuesday 28 December 2004 09:36 pm, Victor Brilon wrote:
>
> $0 will return the name of the script depending on how it was invoked.
> I.E. if your script is called foo.sh and looks like this:
> #!/bin/bash
> echo $0
> Victor
>
That is exactly what i wanted it to do...Thank You.
--
David Ross
Registered Linux User #344306
EMail is certified Windows® free.
More information about the Discuss
mailing list