Re: shell: full path to currently executed script
- From: "Chris F.A. Johnson" <cfajohnson@xxxxxxxxx>
- Date: Thu, 18 May 2006 07:16:01 -0400
On 2006-05-18, Angel Tsankov wrote:
How can I obtain the full path to the currently executed script?
Why? There is generally no good reason to do that.
However, it is usally in $0.
--
Chris F.A. Johnson, author <http://cfaj.freeshell.org>
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
===== My code in this post, if any, assumes the POSIX locale
===== and is released under the GNU General Public Licence
.
- Follow-Ups:
- Re: shell: full path to currently executed script
- From: Angel Tsankov
- Re: shell: full path to currently executed script
- References:
- shell: full path to currently executed script
- From: Angel Tsankov
- shell: full path to currently executed script
- Prev by Date: shell: string manipulation
- Next by Date: Re: shell: string manipulation
- Previous by thread: shell: full path to currently executed script
- Next by thread: Re: shell: full path to currently executed script
- Index(es):
Relevant Pages
|