how to use basename command
Posted: Fri Dec 14, 2012 12:22 pm
I found a command 'basename'. Man pages are most always confusing. As an example I type... basename <path>. As a result I get the last file name of the path. So now what? What do I do with this result?
I fail to see the use of this command. It tells you what to do but not what to do with the result. Anyone explain? Thank you...
I fail to see the use of this command. It tells you what to do but not what to do with the result. Anyone explain? Thank you...