Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while read j
- do
- echo "Pattern to search is:- $j"
- find / -name "*$j*" |
- while read k
- do
- echo "File found is:- $k"
- owner=$(ls -ld "$k" | awk '{print $3}')
- echo "Owner is:- $owner"
- done
- done < searchstring.out
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement