I made a mistake in my bash script, and now it has created empty files all over my home directory. ) to search only in the current working directory. You may also substitute the tilde symbol ( ~) (for home directory) with the period symbol (. Here's the output: $ find ~ -name headshot.pngĪh! It was in the ~/Pictures/self directory. To find the photo, I would modify the find command's parameters as follows: find ~ -name headshot.png Let us assume I have a photo named 'headshot.png' located somewhere in my home directory. But, it does not even cover all the available options for the find command!įor better understanding, let us look at a few common examples of the find command. That is quite a list of available options.
0 Comments
Leave a Reply. |