Re: init script question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Jacques B. wrote:
...
> 
> Do you mean like $0?  That gives you the current script name.

Or better yet

basename $0

if you want the name of the script and not the full path.

Phil
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux