[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] How to expand to full-path name?
- Subject: [ale] How to expand to full-path name?
- From: goozbach at neverblock.com (Derek Carter)
- Date: Thu, 09 Aug 2007 15:01:25 -0400
- In-reply-to: <[email protected]>
- References: <[email protected]>
On Thu, 2007-08-09 at 10:57 -0400, Tim Watts wrote:
> Hi,
>
> Suppose I have MyScript in /home/me/bin which does this:
>
> #!/bin/sh
> SCRIPT_HOME=`dirname $0`
> echo home=$SCRIPT_HOME
>
tried "which"?
[user at host ~]$ which ping
/bin/ping
Apparently it's just a batch script
--
Derek