2011-11-15 83 views
3

我找不到任何地方的名稱。我已經看到「上」,「父」,「包含文件夾」,「雙點」,「點點」,但我一直無法找到它的正式名稱。例如,如果你想向上移動目錄:關於目錄路徑,你叫什麼「..」?

~ $ cd ../HristoOskov/ 

...你叫什麼名字的點點..

+0

我通常稱之爲點狀。 –

+1

在挪威語中,它將是「prikk-prikk」(dot-dot)或「punktum-punktum」(句號)或「foreldremappa」(父文件夾)或(開玩笑)「morra」(母親); –

回答

2

我通常只使用術語當前和父目錄,或使用「點」「點點」如果我給別人的口頭指示(如拼寫出一個bash命令。)

我見過

大多數技術文檔是指他們明確地"."".."

例如,kernel.org on path resolution(有時使用單引號):

By convention, every directory has the entries "." and "..", which refer to 
the directory itself and to its parent directory, respectively. 

The path resolution process will assume that these entries have their 
conventional meanings, regardless of whether they are actually present in the 
physical file system. 
0

我不認爲這有任何特殊的名稱。我個人稱之爲父目錄。

10

我個人稱它爲「dot dot」,「up one」和「parent directory」。有一次或兩次,我把它稱爲橢圓形,我的朋友們拍了我一下,把我的啤酒拿走了。他們是懲罰我的權利。

+0

Gosh ,我想知道如果我使用省略號來描述父目錄,那麼辦公室周圍的人會把它當作笑話。 +1 –