Hi all,
I saw in a script this line:

         cmd=${0##*/}  # Command's basename

Echoed the value of cmd and this returns -bash.

I cant seem to figure out how this works.
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to