Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找如何影响文件的 ls 命令内的目录列中的值 2。
实际上值是1。
我试图创建一个符号链接,但它仍然是 1
您需要一个硬链接(即ln没有-s)。该数字是对 inode 的引用计数,符号链接不会增加它。
ln
-s