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 »Categories
Best karma users
Popular this week - High End
Popular today
- 16 Freedom Socks - Episode 7 - we interview Matt Lee about the Stephen Fry video
- 13 Boycottnovell.com Not Interested In Solving Problems
- 12 Red Hat Advances Virtualization Leadership with Qumranet, Inc. Acquisition
- 11 Why I won’t be using Google’s Chrome much
- 9 OSS advocates file human rights complaint against SA election body






