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 :: fetch from remote branch 
Shell :: sharepoint logs folder 
Shell :: aws create repository cli 
Shell :: free dock for linux 
Shell :: vue telephone number 
Shell :: bitnami wordpress enable ssh 
Shell :: disk not showing mac command line 
Shell :: run command every hour linux 
Shell :: How to pass a user defined argument in scrapy spider 
Shell :: open command linux 
Shell :: share folder on network linux 
Shell :: composer v1 to v2 
Shell :: kill background job 
Shell :: how to make pyinstaller build python program not open command prompt 
Shell :: git merge to master 
Shell :: kubectl create 
Shell :: linux -ltr 
Shell :: linux get uuid of disk 
Shell :: how to create a worker service 
Shell :: linux edit crontab via script 
Shell :: insert image into github wiki 
Shell :: How to download torrents from the command-line on Linux 
Shell :: diff command 
Shell :: how to get driver information ubuntu 
Shell :: sed mac install 
Shell :: bash script get last position of character in string 
Shell :: folder open in command line 
Shell :: scp command in unix 
Shell :: how to use curl command in ubuntu 
Shell :: flask make how public 
ADD CONTENT
Topic
Content
Source link
Name
9+5 =