Hi all,

I wrote shell script and put it under the /usr/local/bin/ directory.

I use echo $0 for get script name but it has printed
"/usr/local/bin/<scriptname>" but  i want to only print <scriptname>

How can i do this ?

Thanks all for help.


-- 
Iyi calismalar.Basarilar...
Semih Gokalp
Istanbul/Turkiye
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to