Linux

2010-02-03 3:45 am
::: ln command
- use an editor to create a file with some arbitrary content
- create hard and soft link to the file
- explain what happens when you cat the hard and soft links before, and after, deleting the original file
- now replace the original file with a new file. what happens when you cat the link files now?

有無人可以教下我
我淨係識得點樣create hard and soft link

回答 (1)

2010-02-03 5:44 pm
✔ 最佳答案
其實點解唔直接係 linux 自己試下呢?

[ explain what happens when you cat the hard and soft links before,
and after, deleting the original file ]

* cat hard and soft link will show the content of the file

* after deleting the original file, cat hard link will show the content of the
original file, but soft link will give an error message



收錄日期: 2021-04-13 17:04:39
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20100202000051KK01415

檢視 Wayback Machine 備份