几个条件表达式看不懂!

几个条件表达式看不懂!

-g file---- True if file exists and is set-group-id.
-k file----True if file exists and its ``sticky'' bit is set.
-u file----True if file exists and its set-user-id bit is set.      
shell scripts 中很少会用到这几个条件判断
建议看些 Linux C Programming 方面的内容, 比如《UNIX 环境高级编程》
参考: chmod(1), chmod(2), setuid(2), setgid(2)      
看过man手册,已经了解了!      
fine