In today’s article we will cover Find Command For Linux.
When working on the Linux operating system, we sometimes forget which file is where.
You can find all the files one by one by browsing,
but instead of searching one by one using some commands,
you can find the file you are looking for in a shorter time.
Find :
With the help of this command, we can see the directory and the locations of the objects under the directory.
1 |
find -name textfile |
We can use the command below to list the data in the home directory that has been changed in the last 24 hours.
1 |
find $HOME -mtime 0 |