문제

I'm looking how to affect the value 2 in directories column inside the ls command for a file.

Actually the value is 1.

I tried to creat a symbolic link but its still 1

도움이 되었습니까?

해결책

I tried to creat a symbolic link but its still 1

You need a hardlink instead (i.e. ln without -s). That number is the count of references to the inode and a symbolic link doesn't increase it.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top