Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

find linux

# list all files in current folder and subfolders with given pattern
find . -name "pattern"
# list all files that match pattern 1 or pattern2
find . -type d -name pattern1 -or -name pattern2
# list all files that match pattern excluding a path
find . -type d -name 'pattern' -not -path 'excluded_path/*'
# list all files with size > 100k and size < 1M
find . -type f -size +100k -size -1M
# list all files last edited in last 3 days
find . -type f -mtime +3
Comment

find linux

find . -name "pattern" -print
Comment

find command in linux

 find . -name tecmint.txt
Comment

find command in linux

find /home/linuxize -type f -name document.pdfCopy
Comment

Find linux

find . -name "foo*"
Comment

linux find command

find / -name .profile -print
find . -perm 0600 -print
find ./test ./logs -name failed*.* -type f
find . -ctime 1 -print
find . -name ‘*find*’ -print
Comment

find in linux

$ find [where to start searching from]
 [expression determines what to find] [-options] [what to find]
 
 $ find ./GFG -name sample.txt 
Comment

find command in linux

find /etc/dovecot/conf.d -name "*.conf" -mtime 5Copy
Comment

find command in linux

find /var/log/nginx -type f -name '*.log.gz'Copy
Comment

PREVIOUS NEXT
Code Example
Shell :: move folder from one directory to another in linux 
Shell :: Perl search if variable contains word 
Shell :: virtualenvwrapper-win cannot workon powershell 
Shell :: how to check if automatic system updates are working on fedora 
Shell :: turn on wiregurad ubuntu 
Shell :: prisma format schema 
Shell :: mysql backup dump docker file 
Shell :: launch edge from wsl 
Shell :: find command absolute path 
Shell :: How to undo the most recent local commits in Git 
Shell :: powershell convert text 20MB to bytes 
Shell :: download zip file from onedrive using wget 
Shell :: github portfolio 
Shell :: gen rsa 1024 
Shell :: some github markup badges 
Shell :: import bjson mongodb 
Shell :: git copy changes from one branch to another 
Shell :: command to build docker file 
Shell :: ansible ad hoc file module 
Shell :: pip install caffe 
Shell :: powershell github 
Shell :: cli50 install with pip3 
Shell :: sed commands 
Shell :: install serverless-google-cloudfunctions 
Shell :: clear pagespeed cache 
Shell :: dpkg command 
Shell :: homebrew tomcat 
Shell :: uninstall vlc from terminal 
Shell :: mongoalchemy flask 
Shell :: where can i sell my laptop 
ADD CONTENT
Topic
Content
Source link
Name
8+2 =