Skip to main content

Linux command: find - search for files in a directory hierarchy

seek and you shall find

find - search for files in a directory hierarchy

Hint:

find WHERE WHAT

Find files larger than 1GB

$ find . -type f -size +1G

Find files smaller than 1GB

$ find . -type f -size -1G

Find ALL files larger than 100MB and sort by size

$ find / -type f -size +100M 2>/dev/null -exec ls -sh {} \; | sort -h

For ethical hacking

Find files with SUID

find / -perm -u=s -type f 2>/dev/null
find / -perm -4000 -type f 2>/dev/null
On Windows, use dir to search for files/directories:
dir filename /s

Popular posts from this blog

hmailserver: Notes from the field

hmailserver is one of free open source mail servers running on Microsoft Windows operating system.

stegseek: Notes

StegCracker has been retired following the release of StegSeek, which will blast through the rockyou.txt wordlist within 1.9 second as opposed to StegCracker which takes ~5 hours.

Install Microsoft .NET Core SDK

.NET Core Software Development Kit (SDK) is a set of libraries and tools that allow developers to create .NET Core applications and libraries.