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 9 years 4 weeks ago – Made popular 9 years 3 weeks ago
Category: High End   Tags: