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

首頁 > 系統 > CentOS > 正文

CentOS下如何查看一個文件的硬鏈接數?

2020-06-21 12:47:51
字體:
來源:轉載
供稿:網友

用ls -l 可以看到有一個文檔的硬鏈接數:

[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

用一下語句可以查看一個文件有哪些硬鏈接

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

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

/etc/passwd

/tmp/hl_passwd

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

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

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


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 武冈市| 黄平县| 溧阳市| 陆川县| 尚志市| 峨边| 华坪县| 防城港市| 宝山区| 延安市| 托里县| 庆城县| 维西| 新乡市| 金昌市| 白玉县| 来凤县| 夏邑县| 济阳县| 南开区| 东明县| 民乐县| 江油市| 阿坝县| 山西省| 襄樊市| 沙田区| 扶风县| 江阴市| 赞皇县| 紫阳县| 秦安县| 昆山市| 天柱县| 旅游| 镇江市| 方城县| 成都市| 三江| 达拉特旗| 南康市|