[kanchilug] Re: [Tip] Change to the previous working directory

  • From: ashwin kesavan <ashwin.chn@xxxxxxxxx>
  • To: kanchilug@xxxxxxxxxxxxx
  • Date: Sat, 21 May 2011 16:13:12 +0530

On 21 May 2011 16:06, Tha.Suresh <jemenisuresh@xxxxxxxxx> wrote:
> Change to the previous working directory:
>
> $ cd -
>
> Note:
>
> $ cd .. is used to come back one directory from current directory.
>
> $ cd is used to come back home directory.
>
> $ cd - is used to revert back.
>


Can you post on pushd and popd which i feel is better than cd.

--ashwin
 

Other related posts: