| Thursday, 08-Jan-2009 18:27:09 GMT | Tell a friend |
![]() |
|
|
|
|
basename is a common program found on Unix systems. Given a pathname[?], it will return the name of the file that the pathname refers to. For example, basename /home/john/pictures/cat.jpg will return "cat.jpg". Although this seems fairly obvious to humans, basename is a useful tool in shell scripts.
See also: List of Unix programs
Send this page |
|
|||||||
This online educational article is provided by contributions of Wikimedia Foundation. Partners: Digital Gadgets | Logo Design | Business Articles | Online Calculators | |||||||