[CentOS] init script question

Phil Schaffner Philip.R.Schaffner at NASA.gov
Fri Dec 12 16:11:21 UTC 2008


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



More information about the CentOS mailing list