31 Mart 2022 Perşembe

find komutu owner ve group'a göre arama seçenekleri

Giriş
Açıklaması şöyle
Using the -group or -user options, we can also find a directory or file by who owns it, or which group it belongs to.
-group seçeneği
Örnek
Şöyle yaparız
find ./test -group someGroup
- user seçeneği
Örnek
Şöyle yaparız
find ./test -user someOwner
Örnek
Belirtilen kullanıcının sahibi olmadığı dosyaları görmek için şöyle yaparız.
find /directory ! -user myusername -printf "%u %p\n" 

Hiç yorum yok:

Yorum Gönder