help-octave
[Top][All Lists]
Advanced

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

Re: cd "previous directory" ??


From: Andy Buckle
Subject: Re: cd "previous directory" ??
Date: Tue, 21 Feb 2012 00:16:36 +0000

On 20 February 2012 23:26, Muhali <address@hidden> wrote:
> In unix shells one has the command 'cd -' which brings one back to the
> previous directory.
>
> Is there anything like that in octave? And if not, is it easy to implement?
>
> M.
>

?

d=pwd();
cd foo
% stuff
cd(d)


-- 
/* andy buckle */


reply via email to

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