标签:b2c png 磁盘 shadow 大小 type 被占用 场景 分享
用find /etc -type -l |margs ls -l硬连接文件
硬链接只能做文件 不能做目录
硬链接做法
[root@eddielinux ~]# ln /root/123.txt /tmp/1235.txt 等于做一个克隆
[root@eddielinux ~]# ls -i /root/123.txt /tmp/1235.txt
144422 /root/123.txt 144422 /tmp/1235.txt
[root@eddielinux ~]# du -sh /root/123.txt;du -sh /tmp/1235.txt 查看文件大小
98K /root/123.txt
98K /tmp/1235.txt
标签:b2c png 磁盘 shadow 大小 type 被占用 场景 分享
原文地址:http://blog.51cto.com/12777709/2067961