Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

find command

# 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

PREVIOUS NEXT
Code Example
Shell :: install psql 
Shell :: install openvino 
Shell :: reset gui linux 
Shell :: ubuntu start pycharm 
Shell :: 7zip command line 
Shell :: openssl universal requires cocoapods openssl-universal 
Shell :: pterodactyl installer 
Shell :: see unpushed commits 
Shell :: magento shell reindex 
Shell :: how to exit root in linux 
Shell :: youtube-dl ubuntu 
Shell :: how to update visual studio code through ubuntu terninal 
Shell :: change language to english in centos 
Shell :: ubunut log as root 
Shell :: powershell check if user is admin 
Shell :: show internet password 
Shell :: ords version view 
Shell :: how to remove user from the group 
Shell :: how to set execute permission in linux 
Shell :: ngrok install authtoken 
Shell :: flutter create command 
Shell :: how to install terraform macos 
Shell :: how to stop tomcat server in macos 
Shell :: conda install camelot py 
Shell :: how to open text editor in git bash 
Shell :: Android sdkmanager not found. Update to the latest Android SDK and ensure that the cmdline-tools are installed to resolve this. 
Shell :: combine two document together lnux 
Shell :: git merge a file from another branch to current branch 
Shell :: host key verification failed 
Shell :: netbeans linux install 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =