[wellylug] Bash shell script - determine file name?
Mark Signal
mark at remote-assist.co.nz
Tue May 3 09:23:22 NZST 2005
D'oh
`basename $0`----- Original Message -----
From: "Mark Signal" <mark at remote-assist.co.nz>
To: "Wellylug" <wellylug at lists.wellylug.org.nz>
Sent: Tuesday, May 03, 2005 9:18 AM
Subject: [wellylug] Bash shell script - determine file name?
> Hi All
>
> 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.
>
> Any ideas?
>
>
> Regards
>
>
>
> Mark
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.308 / Virus Database: 266.11.1 - Release Date: 2/05/2005
>
>
> --
> Wellington Linux Users Group Mailing List: wellylug at lists.wellylug.org.nz
> To Leave: http://lists.wellylug.org.nz/mailman/listinfo/wellylug
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.308 / Virus Database: 266.11.1 - Release Date: 2/05/2005
>
>
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.1 - Release Date: 2/05/2005
More information about the wellylug
mailing list