Using the find command in bash
The following are answers to a short assignment from the Linux basics section of the Computing Fundamentals course on Roppers.
- I used this command to find all the html files in my directory, that are owned by me and are 12kb in size:
$ find . -type f -name "*.html" -user dgk -size 12
- To find all the hidden files in a directory, I used the following command:
$ find . -type f -name ".*"