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

Re: Looking for trouble.



Bob Hilliard wrote:
  >"Oliver Elphick" <olly@lfix.co.uk> writes:
  >
  >> To go to the directory you were in last:
  >> cd ~-
  >
  >     What is the purpose of the tilde in this command?  In bash and
  >sh, at least, `cd -' is what I was taught, and it works fine.  Do some
  >other shells require `cd ~-'?
 
That is the Korn shell convention; I did not know that bash supported the
simpler form.

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
               PGP key from public servers; key ID 32B8FAA1
                 ========================================
     "For by grace are ye saved through faith; and that not 
      of yourselves; it is the gift of God, not of works, 
      lest any man should boast."   Ephesians 2:8,9 



Reply to: