[wellylug] Bash shell script - determine file name?

David Antliff dave.antliff at paradise.net.nz
Tue May 3 09:47:35 NZST 2005


On Tue, 3 May 2005, Mark Signal wrote:
> I need a bash shell script to be able to determine its own file name. That is 
> if I run the script "mark.sh" I want the script to figure out its own name so 
> that it can use the name as a variable within the script.


$0  ?




More information about the wellylug mailing list