getting absolute path of a file in csh?

Gordon Marx gcmarx at
Tue Aug 8 08:48:08 EDT 2006

On 08/08/06, Robert La Ferla <robertlaferla at> wrote:
> If the cwd is "/users/myacct" and there is a file called
> "filename.dat", I want a command (built-in or external)  that given
> the argument "filename.dat", returns "/users/myacct/filename.dat".

echo $cwd"/"$filename

Gordon Marx
gcmarx at

More information about the Discuss mailing list