Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Exercice 2 :
- find -user ajanquin
- Exercice 2 bis :
- Nous remaarquons que la première commande ouvre les fichiers en les listant tandis que la seconde ne donne que la liste des fichiers.
- Exercice 3 :
- 1)
- Version pipe :
- find ~/Pratique_SE/TP4/fic_C -type f -name \*.c | xargs grep ^[\ ]*if
- Version exec :
- find ~/Pratique_SE/TP4/fic_C -type f -name \*.c -exec grep ^[\ ]*if {} \+
- 2)
- find ~/Pratique_SE/TP4/fic_C -type f -name \*.c -exec grep -l if {} \;
- 3)
- find . -type f -and -name \*~ -and \(-ctime 5 -o -ctime +10\) -exec grep ^[\ ]*[if]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement