Hi all,
I want the ability to list the current path minus the current dir. Is there a way? I want this the ability to use this in several different directories.
pwd gives you the path to the current dir:
ex.
pwd
/u6/oracle/prodappl/test_int/1.0.0/bin
I want
/u6/oracle/prodappl/test_int/1.0.0
Help please.
I want the ability to list the current path minus the current dir. Is there a way? I want this the ability to use this in several different directories.
pwd gives you the path to the current dir:
ex.
pwd
/u6/oracle/prodappl/test_int/1.0.0/bin
I want
/u6/oracle/prodappl/test_int/1.0.0
Help please.