4

如何在我的 FreeBSD 服务器上获取没有设置粘性位且文件可执行的文件列表(无目录)?

4

1 回答 1

3

This should work for you:

find . \! -perm -01000 -perm -00100 -perm -00010 -perm -00001 \! -type l \! -type d -print

You might want to invest some time in learning the intricacies of find. Alvin Alexander blog post Linux find command recipes is a place you might start and just google unix find for more.

于 2012-07-26T06:25:12.050 回答