Encyclopedia > Basename

  Article Content

Basename

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



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Holtsville, New York

... White, 1.11% African American, 0.18% Native American, 1.74% Asian, 0.01% Pacific Islander, 1.21% from other races, and 1.38% from two or more races. 7.06% of the ...

 
 
 
This page was created in 28 ms