The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 02-11-2009
usfish usfish is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 2
problem about '..' in bash

There is an interview question about UNIX bash:

Some shells like bash try to make '..' always work propery, namely, from home directory, cd ../$USER will place you in your home directory. Does bash always get this behavior correct?

Anyway can provide any example that bash doesnt work well?

Thanks!

Last edited by usfish; 02-11-2009 at 02:34 AM..