Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

find command in unix

# 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 command in linux

 find . -name tecmint.txt
Comment

find command in linux

find /home/linuxize -type f -name document.pdfCopy
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 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 :: docker compose keep container running 
Shell :: ngrok minecraft server 
Shell :: install 7z commadn line windows 
Shell :: yarn add @materialui 
Shell :: docker execute command in container 
Shell :: docker console into container 
Shell :: cli zip 
Shell :: remove file from stage git 
Shell :: bash initialize array 
Shell :: pip install bootstrap 
Shell :: ssh key pair github 
Shell :: -bash: /bin/rm: Argument list too long inodes 
Shell :: random hex chars bash 
Shell :: git merge abort 
Shell :: docker remove tag 
Shell :: linux change username 
Shell :: fedora how to uninstall snapd 
Shell :: taskbar directory windows 
Shell :: how to both add and commit in git 
Shell :: erlang clear shell 
Shell :: ubuntu 18.04 default display manager 
Shell :: install office in ubuntu 
Shell :: rename all files in a folder with progressive numbers linux 
Shell :: npm dev server 
Shell :: git chnage to commit id 
Shell :: rot13 in bash 
Shell :: combine two file linux 
Shell :: webpack install 
Shell :: how to set up git in linux terminal 
Shell :: see journalctl running logs 
ADD CONTENT
Topic
Content
Source link
Name
3+7 =