[CentOS] mkdir this "." directory

Benjamin Franz jfranz at freerun.com
Tue Dec 29 18:49:23 UTC 2009


John R Pierce wrote:
> 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

Umm. No. Try launching a 'cmd' shell under Windows (whatever version) 
and doing a 'dir' anywhere except the root directory and you will see 
'.' and '..' entries.

-- 

Benjamin Franz




More information about the CentOS mailing list