55 lines
1.3 KiB
Plaintext
55 lines
1.3 KiB
Plaintext
Partie I
|
|
I.1/
|
|
find . -name "*.install" -type d
|
|
I.2/
|
|
find . -name "*.d" -type f
|
|
I.3/
|
|
find . -empty -type d
|
|
I.4/
|
|
find . -size -1000c -type f
|
|
I.5/
|
|
find . -size +30000c -type f
|
|
I.6/
|
|
find . -size 1024c -type f
|
|
I.7/
|
|
find . -size 2b -type f
|
|
I.8/
|
|
find . -size +30b -type f
|
|
I.9/
|
|
find . -size -3b -type f
|
|
I.10/
|
|
find . -size +1b -type f -a -size -4b
|
|
I.11/
|
|
find . -type f -newer lib/krb5/synch/atom.install .
|
|
I.12/
|
|
find /lib/krb5/sync/ -mtime -4
|
|
I.13/
|
|
find /lib/kernel/install.d -mtime +3
|
|
I.14/
|
|
find . -mtime 3 -atime 2
|
|
I.15/
|
|
find . -typ d -perm /0022
|
|
I.16/
|
|
find . -type d -perm -444
|
|
I.17/
|
|
find . -type f -perm 644
|
|
|
|
Partie II
|
|
II.1/
|
|
find . -maxdepth 4 -name "[[:digit:]]" -type f -exec cp '{}' lib/kernel/config/AA/BB/CC/ \;
|
|
find . -maxdepth 4 -name "[[:digit:]]" -type f -exec cp '{}' lib/kernel/config/AA/BB/CC/XX \;
|
|
find . -maxdepth 4 -name "[[:digit:]]" -type f -exec cp '{}' lib/kernel/config/AA/BB/DD/ \;
|
|
find . -maxdepth 4 -name "[[:digit:]]" -type f -exec cp '{}' lib/kernel/config/AA/BB/DD/YY \;
|
|
II.2/
|
|
find . -amin +29
|
|
II.3/
|
|
find . -mindepth 6 -name "[[:upper:]]*" -type d -exec chmod 700 '{}' \;
|
|
II.4/
|
|
find . -cmin +14
|
|
|
|
Partie III
|
|
cp -R ../TREE ../TRee
|
|
III.1/
|
|
find / -name "*.h" -print -quit 2>/dev/null
|
|
III.2/
|
|
find ~ -newer ../TRee/lib/auth/transm.d -printf "%p -- %TD %TT\n" 2>/dev/null |