[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Switching Directories Internally

From: Chet Ramey
Subject: Re: Switching Directories Internally
Date: Wed, 28 Nov 2001 08:38:58 -0500

> When switching a directory within a script, is it possible to change
> the default directory where the script was executed to arrive at
> another directory when the script ends, without using the period or
> source before the executing script at the command-line?

If you're asking whether a script can change its parent's current
working directory, the answer is no.

``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)

Chet Ramey, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]