0
我想在linux中創建一個符號鏈接,但我總是得到相同的錯誤。創建符號鏈接時出錯
首先我創建符號鏈接是這樣的:
ln -s preproceso/genomas_12juny/Bacteria wwwprueba/webproves/g3/genomas/
我要的是在wwwprueba/webproves/g3/genomas/
命名爲「細菌」,並用preproceso/genomas_12juny/Bacteria/
的內容,以創建符號鏈接,當我嘗試打開創建的鏈接出現以下錯誤:
The link "Bacteria" is broken. Do you want to move it to the trash?
The link cannot be used because its destination "preproceso/genomas_12juny/Bacteria" does not exist.
我在做什麼錯?
這兩個路徑都在我的目錄中。爲了做到這一點,我必須做的不同纔是相對路徑? – Ingrid
@Ingrid:試試:'ln -s ../../../../preproceso/genomas_12juny/Bacteria wwwprueba/webproves/g3/genomas /' – choroba
謝謝,我用全路徑解決了這個問題 – Ingrid