DEV/DEV1.1/TP09/tp9.txt

64 lines
823 B
Plaintext
Raw Normal View History

2022-11-15 11:27:45 +01:00
mkdir -p
find -depth
1)
find . -type d -name "*.install" -print
2)
find . -type f -name "*.d" -print
3)
find . -type f -empty
4)
find . -type f -size -1000c
5)
find . -type f -size +30000c
6)
find . -type f -size 1k
7)
find . -type f -size 2b
8)
find . -type f -size +30b
9)
find . -type f -size -3b
10)
find . -type f -size +1b -size -4b
11)
find . -type f -cnewer ./lib/krb5/synch/atom.install
12)
find ./lib/krb5/synch/ -mtime -4
13)
find ./lib/kernel/install.d/ -mtime +3
14)
find . -mtime 3 -ctime 2
15)
find . -perm /022
16)
find . -perm -444
17)
find . -perm 644
II)
1)
find . -maxdepth 4 -type f -name "[[:digit:]]*" -exec cp '{}' lib/kernel/config/AA/BB/CC -exec cp '{}' lib/kernel/config/AA/BB/CC/XX -exec cp '{}' lib/kernel/config/AA/BB/DD -exec cp '{}' lib/kernel/config/AA/BB/DD/YY \;