Linux ?????????????
???????????? ???????[ 2015/4/22 14:11:00 ] ????????Linux ?????? ?????
?????? Linux ????????У?????????? 3 ?????????????????????????????????????????????? inode ??????????????????????????????????飬???????????????????????????????????????????????????洢???????? inode ????????У?inode ????? inode ??????? inode ??????????????? inode ???е?λ?á?
????Linux ???????????????????Hard Link???????????Soft Link???????????????????????Symbolic Link????
?????????
??????????????????????????????????????????????????????????????????? inode???? inode ????????????????????????????????????????????????????μ? inode??
huey@huey-K42JE:~/huey/linux/cmdline$ touch f1
huey@huey-K42JE:~/huey/linux/cmdline$ ln f1 f1-hard
huey@huey-K42JE:~/huey/linux/cmdline$ ls -li
total 0
10272788 -rw-rw-r-- 2 ng ng 0 Apr 20 15:28 f1
10272788 -rw-rw-r-- 2 ng ng 0 Apr 20 15:28 f1-hard
???????????? f1-hard ?????μ? inode??f1-hard ?? inode ?? f1 ??£?????????????????????????????????????????f1 ?? f1-hard ??????????? 1 ????? 2?????????? rm ?????????
huey@huey-K42JE:~/huey/linux/cmdline$ ls -li
total 0
10272788 -rw-rw-r-- 2 ng ng 0 Apr 20 15:33 f1
10272788 -rw-rw-r-- 2 ng ng 0 Apr 20 15:33 f1-hard
huey@huey-K42JE:~/huey/linux/cmdline$ rm f1
huey@huey-K42JE:~/huey/linux/cmdline$ ls -li
total 0
10272788 -rw-rw-r-- 1 ng ng 0 Apr 20 15:33 f1-hard
huey@huey-K42JE:~/huey/linux/cmdline$ rm f1-hard
huey@huey-K42JE:~/huey/linux/cmdline$ ls -li
total 0
?????????????????????????????????????????????????????? 0 ?????????????????????????
?????????????????????????
????1) ?????????????????????????????????????????????????????????????????????
????2) ??????????????????Щ Linux ?汾????????????? -d ????????????????????
????????????
?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? Windows ??????????????????????????????????????????????????????磬???Щ????д?????????????????Щ????????д????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????κ???????????????????????????ls ?????????ò???????????????????????????
???????????????????и?????????????????????????????????·????????????????????????????????????????????????????
????ln ??????
????ln [OPTION]... [-T] TARGET LINK_NAME (1st form)
????ln [OPTION]... TARGET (2nd form)
????ln [OPTION]... TARGET... DIRECTORY (3rd form)
????ln [OPTION]... -t DIRECTORY TARGET... (4th form)
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11