[CentOS] mkdir this "." directory

John R Pierce pierce at hogranch.com
Tue Dec 29 18:21:01 UTC 2009


Marko Vojinovic wrote:
> You mean new to the concept of files and directories? This is not Linux-only. 
> The . and .. existed even in MS-DOS back in the 80's. 

having an actual . and .. file in a directory is a distinctly Unix 
practice.   It leads to some funny behavior too, especially when 
combined with symlinks

for instance, say  /home/pierce is a symlink to /home2/pierce  and I'm 
in /home and go cd pierce, then go cd ..      in *some* unix systems, 
that cd .. takes me back to home, in others takes me to /home2







More information about the CentOS mailing list