[FZH] 如何判断 link 的指向?

Zind wzmindlog at gmail.com
Sat Dec 10 01:23:27 UTC 2011


在 shell 脚本中,怎么样判断 link 的指向呢?就是说,判断它是不是指向某个特定的文件呢?
ls -l file_name 后,用 awk 提取输出可行……
还有没有其它更好的方法呢?


More information about the Chinese mailing list