I suggest that you keep the freedom of choice and use the wild card character * in your search pattern. If you add sudo, you will be allowed to search also directories where the normal user has no access. So I suggest the following two aliases, localfind to search the current directory and its subdirectories, and rootfind searching the whole computer.
Code:
alias localfind='sudo find \. -name'
alias rootfind='sudo find / -name'
Enter these (or something similar) into your .bashrc file at the alias commands that are already there!
So if you don't want to wait for rootfind, it can be a good idea to change directory to a relevant directory and run localfind.
examples:
Code:
cd
localfind "*bash*"
Code:
cd /etc
localfind "*host*"
localfind "*grub*"
Edit: another example shows the advantage with flexible usage of *
Compare the output of these commands:
Code:
cd /usr
localfind "*.doc*"
# and
localfind "*.doc"
Good luck
Bookmarks