Linux.com

Four ways to extract the current directory name

Posted by: Anonymous [ip: 68.15.208.161] on November 06, 2007 01:47 PM
If you guys had actually read the article, you'd notice that all you really need is basename `pwd`, one command, two words. That's pretty simple, the rest of the article was a good tutorial for programmers and developers who actually use their machines, feel free to skip it if it was over your head... Really Steevie? how would you do this in Windoze... oops I mean DOS?

#

Return to Four ways to extract the current directory name