40
loading...
This website collects cookies to deliver better user experience
find
Command
find /
to search for items in the root directory-type f
to filter for files-name "*.xml"
to filter for items with a .xml
as a suffixfind / -type f -name "*.xml"
find /home
to search for items in the /home
directory-type f
to filter for files-iname user.txt
to filter for case insensitive name pattern of user.txt
find /home -type f -iname user.txt
find /
to search for items in the root directory-type d
to filter for directories-name "*exploits*"
to filter for items with exploits
substring in their namefind / -type d -name "*exploits*"
find /
to search for items in the root directory-type f
to filter for files-user kittycat
to filter for items owned by the user kittycat
find / -type f -user kittycat
find /
to search for items in the root directory-type f
to filter for files-size 150c
to filter for items of size 150 bytesfind / -type f -size 150c
find /home
to search for items in the /home
directory-type f
to filter for files-size -2k
to filter items of size less than 2 KiB-name "*.txt"
to filter for items with a .txt
as a suffixfind /home -type f -size -2k -name "*.txt"
find /
to search for items in the root directory-type f
to filter for files-perm 644
(octal format) to filter for items that are exactly readable and writeable by the owner, and readable by everyone elsefind / -type f -perm 644
find /
to search for items in the root directory-type f
to filter for files-perm /444
(octal format) to filter for items that are only readable by anyonefind / -type f -perm /444
find /
to search for items in the root directory-type f
to filter for files-perm -o=w
(symbolic format) to filter items write permission for the group others
, regardless of any other permissions-name "*.sh"
to filter for items with a .sh
as a suffixfind / -type f -perm -o=w -name "*.sh"
find /usr/bin
to search for items in the /usr/bin
directory-type f
to filter for files-user root
to filter for items owned by the user root
-perm -u=s
(symbolic format) to filter for items that have at least the SUID permissionfind /usr/bin -type f -user root -perm -u=s
find /usr/bin
to search for items in the root directory-type f
to filter for files-atime +10
to filter for items that were not accessed in the last 10 days-name "*.png"
to filter for items with a .png
as a suffixfind / -type f -atime +10 -name "*.png"
find /usr/bin
to search for items in the /usr/bin
directory-type f
to filter for files-mmin -120
to filter for items that have been modified within the last 2 hours (120 minutes)find /usr/bin -type f -mmin -120
40