Answers for "find filename with extension linux bash"

4

linux command find file with extension

find . -type f -name "*.txt"
Posted by: Guest on November-19-2020
3

bash find files with extension

# syntax
find </path/to/dir> -name '.<extension>'

# example 
find /export/home/jacquesk -name '*.txt'

# This will search in folder-path (including subdirectories) 
# of "/export/home/jacquesk", and will show any files 
# that end in '.txt'
Posted by: Guest on May-04-2020

Code answers related to "find filename with extension linux bash"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language