国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁(yè) > 系統(tǒng) > CentOS > 正文

CentOS下如何查看一個(gè)文件的硬鏈接數(shù)?

2020-07-08 12:47:03
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友

用ls -l 可以看到有一個(gè)文檔的硬鏈接數(shù):

[root@localhost tmp]# ls -li

total 104

229415 drwxr-xr-x  2 root root 4096 Dec 11 21:15 etc

 39757 -rw-r--r--  2 root root 1602 Oct 30 14:56 hl_passwd

用一下語(yǔ)句可以查看一個(gè)文件有哪些硬鏈接

[root@localhost tmp]# find / -inum 39757

find: /proc/6266/task/6266/fd/4: No such file or directory

/etc/passwd

/tmp/hl_passwd

但是注意由于硬鏈接是不能跨文件系統(tǒng)的,所以

 Add the `-xdev' option if you are starting the

search at a directory that has other filesystems mounted on it,

發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 济阳县| 都安| 阿拉尔市| 嘉禾县| 唐河县| 英德市| 济宁市| 周至县| 浦江县| 芮城县| 增城市| 曲松县| 历史| 高唐县| 鲁山县| 松溪县| 德安县| 桓台县| 郓城县| 铁力市| 图片| 奉新县| 治多县| 蓬莱市| 玉溪市| 克东县| 随州市| 邵武市| 乌鲁木齐县| 元阳县| 平果县| 周宁县| 炎陵县| 扬中市| 芦溪县| 西藏| 陈巴尔虎旗| 溆浦县| 南汇区| 临桂县| 玛沁县|