nedeľa 15. mája 2022

find - user and group

Linux command find is very important. Today we will learn how to find with ownerships. Let's do it. 



1) How to use find? 


find PATH  our_possibility


find /etc -name ssh


- find ssh in /etc (via name)






2) We need find every files which owner is student


find PATH -user student 


find /home/student -user student


3)  the same we use to the group


find PATH -group student


find /home/student -group student 




Žiadne komentáre:

Zverejnenie komentára