Exercices UNIX Exercices sur la commande find - Corrigé

Exercices sur la commande find - Corrigé

Index de l'article
Exercices sur la commande find
Corrigé
Toutes les pages

Exercice 1

find / -name "*.c" -print 2>/dev/null
find / -name "[Xx]*" -print 2>/dev/null
find / -name "[!0-9]" -print 2>/dev/null

Exercice 2

find /usr (-size +2000 -a -perm 755) -print 2>/dev/null

Exercice 3

find / (-user olivier -a -perm 666 -print) | wc -l

Exercice 4

find / -name "core" -print -ok rm {}\;

 



Ajouter un Commentaire