The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 01-25-2008
awk awk is offline
Registered User
  
 

Join Date: Feb 2007
Posts: 134
filename $(pwd)
in ksh will give you the name of the directory you are in, not the complete path. I believe that is what you want. Add whatever you want to that to make your new directory.