Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ls ./*abc*
- for fname in ./*abc*; do
- # do something with "$fname"
- done
- find . -type f -name '*abc*' -print
- find . -type f -name '*abc*' -exec sh -c '
- for fname do
- # do something with "$fname" here
- done' sh {} +
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement