[X-Unix] Shell Script: How get parent path to invoke a sister tool?

Eric F Crist ecrist at secure-computing.net
Fri May 23 22:27:14 PDT 2008


On May 23, 2008, at 2:12 PM, Craig A. Finseth wrote:

> 	...
>   In other words, the path to the current working directory is "./"
> 	...
>
> Yes.  And
>
> 	../
>
> points to the parent.  When you get all the way to the root, ../ = ./

Which has no relevance if the program is executed from an arbitrary  
directory outside the directory which contains the two aforementioned  
files...

-----
Eric F Crist
Secure Computing Networks




More information about the X-Unix mailing list