When you're programming a shell script, you often only need the current directory name, not the whole path that the pwd command returns. Here are four ways you can extract only the current directory.

Full story »
tony's picture
Created by tony 7 years 48 weeks ago – Made popular 7 years 47 weeks ago
Category: High End   Tags: