Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux find files by name

# -iname flag ignores case
find / -iname mYtestFiLe.txt
Comment

find file by name linux

find /path -name *.txt
find /path -type f -name test.txt
find /path -name failed*.* -type f
find /path -type f -not -name “*.html”
find / -name “file.txt” -size +4M
find /dev/ -type b -name “sda*”
Comment

find file by name linux

find /path -name *.txt
Comment

get files with name linux

ls | wc -l #Count files on current directory
ls path/to/dir | wc -l #Count files on specific directory path
ls | grep "specific_regex" | wc -l #Count files with specific name or regex
Comment

PREVIOUS NEXT
Code Example
Shell :: generate token symfony authentication api platform 
Shell :: apt package manager 
Shell :: laravel github 
Shell :: git diff ignore file 
Shell :: git modify last commit but leave the commit message 
Shell :: npm install from git 
Shell :: ssh raspberry pi ngrok 
Shell :: pull all branches from remote git 
Shell :: chmod command 
Shell :: dos dir 
Shell :: To add repo from github in linux 
Shell :: how to uninstall django 
Shell :: how to download dash through pip in conda prompt 
Shell :: update centos kernel version yum 
Shell :: open crontab in nano 
Shell :: pylint 
Shell :: merging a branch to master 
Shell :: github cli download 
Shell :: github to gitlab 
Shell :: curl x imap 
Shell :: set up vm arch 
Shell :: repo tool depth 
Shell :: how to add characters before a line 
Shell :: Add or remove published service ports of an existing service 
Shell :: bash check if cd successful 
Shell :: rsyslogd verify service is running 
Shell :: thinderbird download linux mint 
Shell :: sed script "etc/psswd" 
Shell :: webpack for old browser 
Shell :: git borrar rama local y remote 
ADD CONTENT
Topic
Content
Source link
Name
8+1 =