Sample Header Ad - 728x90

basename "$0" not working

3 votes
1 answer
1869 views
I have this command: base_name="$(basename "$0")"; and I am getting this error: > basename: illegal option -- b > > usage: basename string [suffix] > basename [-a] [-s suffix] string [...] anyone know what's going on with that?
Asked by Alexander Mills (10744 rep)
Aug 29, 2019, 04:47 PM
Last activity: Aug 29, 2019, 09:45 PM