Search for files Flashcards
1
Q
How do you use find to search by name
A
find / -name filename
2
Q
How do you use find to search a file by name
A
find / -name filename -type f
3
Q
How do you use find to search a file IN a directory
A
find /usr -name yum -type f
4
Q
How do you find a file not depending on upper and lower case
A
find /usr -iname yum -type f
5
Q
how can you exclude a parameter
A
find /usr -not -name yum -type f