Commands to know: find Flashcards
1
Q
params required in find
A
first is the path, second is the expression to find
2
Q
diff between -name and -iname
A
iname ignores case
3
Q
how to ignore case when using find
A
use the -iname flag
4
Q
logical operators for find
A
! Not
- a and
- o or
5
Q
!
A
not
6
Q
-a
A
and
7
Q
-o
A
or
8
Q
b in -type
A
block device file
9
Q
c in -type
A
character device file
10
Q
d in -type
A
directory
11
Q
f in -type
A
plain file
12
Q
l in -type
A
symbolic link
13
Q
p in -type
A
FIFO (named pipe)
14
Q
s in -type
A
unix domain socket
15
Q
-user
A
specifies a user that the file mist belong to. user names as well as numeric UIDs can be given