查看当前目录下所有软连接文件和文件的指向


find -type l -exec ls -l {} ;


ubuntu@VM-16-5-ubuntu:~$ find -type l -exec ls -l {} \;
lrwxrwxrwx 1 ubuntu ubuntu 19 Sep 10 16:39 ./lib/websockets/libwebsockets-main/build/lib/libwebsockets.so -> libwebsockets.so.17
lrwxrwxrwx 1 root root 15 Aug 13 18:30 ./lib/grpc/cmake/build/third_party/protobuf/protoc -> protoc-3.15.8.0
lrwxrwxrwx 1 root root 9 Aug 13 18:32 ./lib/grpc/cmake/build/third_party/zlib/libz.so -> libz.so.1
lrwxrwxrwx 1 root root 14 Aug 13 18:32 ./lib/grpc/cmake/build/third_party/zlib/libz.so.1 -> libz.so.1.2.11
lrwxrwxrwx 1 root root 28 Aug 13 18:31 ./lib/grpc/cmake/build/libgrpc_csharp_ext.so.17 -> libgrpc_csharp_ext.so.17.0.0
lrwxrwxrwx 1 root root 24 Aug 13 18:31 ./lib/grpc/cmake/build/libgrpc_csharp_ext.so -> libgrpc_csharp_ext.so.17
lrwxrwxrwx 1 root root 21 Sep 2 16:51 ./grpc/third_party/protobuf/src/.libs/libprotobuf.so -> libprotobuf.so.26.0.8
lrwxrwxrwx 1 root root 17 Sep 2 16:51 ./grpc/third_party/protobuf/src/.libs/libprotobuf.la -> ../libprotobuf.la
lrwxrwxrwx 1 root root 19 Sep 2 16:57 ./grpc/third_party/protobuf/src/.libs/libprotoc.so.26 -> libprotoc.so.26.0.8
lrwxrwxrwx 1 root root 19 Sep 2 16:57 ./grpc/third_party/protobuf/src/.libs/libprotoc.so -> libprotoc.so.26.0.8
lrwxrwxrwx 1 root root 26 Sep 2 16:34 ./grpc/third_party/protobuf/src/.libs/libprotobuf-lite.so -> libprotobuf-lite.so.26.0.8
lrwxrwxrwx 1 root root 15 Sep 2 16:57 ./grpc/third_party/protobuf/src/.libs/libprotoc.la -> ../libprotoc.la
lrwxrwxrwx 1 root root 21 Sep 2 16:51 ./grpc/third_party/protobuf/src/.libs/libprotobuf.so.26 -> libprotobuf.so.26.0.8
lrwxrwxrwx 1 root root 22 Sep 2 16:34 ./grpc/third_party/protobuf/src/.libs/libprotobuf-lite.la -> ../libprotobuf-lite.la
lrwxrwxrwx 1 root root 26 Sep 2 16:34 ./grpc/third_party/protobuf/src/.libs/libprotobuf-lite.so.26 -> libprotobuf-lite.so.26.0.8
lrwxrwxrwx 1 root root 15 Sep 2 16:15 ./grpc/cmake/build/third_party/protobuf/protoc -> protoc-3.15.8.0
lrwxrwxrwx 1 root root 9 Sep 2 16:17 ./grpc/cmake/build/third_party/zlib/libz.so -> libz.so.1
lrwxrwxrwx 1 root root 14 Sep 2 16:17 ./grpc/cmake/build/third_party/zlib/libz.so.1 -> libz.so.1.2.11
lrwxrwxrwx 1 root root 28 Sep 2 16:16 ./grpc/cmake/build/libgrpc_csharp_ext.so.17 -> libgrpc_csharp_ext.so.17.0.0
lrwxrwxrwx 1 root root 24 Sep 2 16:16 ./grpc/cmake/build/libgrpc_csharp_ext.so -> libgrpc_csharp_ext.so.17
lrwxrwxrwx 1 ubuntu ubuntu 12 Sep 7 11:18 ./glog/build/libglog.so -> libglog.so.1
lrwxrwxrwx 1 ubuntu ubuntu 16 Sep 7 11:18 ./glog/build/libglog.so.1 -> libglog.so.0.6.0
lrwxrwxrwx 1 ubuntu ubuntu 57 Sep 7 11:29 ./dengzr/glog/glog.INFO -> glog.VM-16-5-ubuntu.ubuntu.log.INFO.20210907-112936.16850


查找当前文件夹下所有权限为777的文件


find . -type f ! -perm 777