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