« Commandes BASH » : différence entre les versions
| Ligne 268 : | Ligne 268 : | ||
=== Comparer répertoire === | === Comparer répertoire === | ||
<syntaxhighlight lang="bash" line copy> | |||
diff -rb /rep1/ /rep2/ | |||
</syntaxhighlight> | |||
=== supprimer un repertoire === | === supprimer un repertoire === | ||
<syntaxhighlight lang="bash" line copy> | |||
rm -rf portail | |||
</syntaxhighlight> | |||
=== modifier attributs === | === modifier attributs === | ||
<syntaxhighlight lang="bash" line copy> | |||
#modif proprio | |||
chown -R personne:groupe rep (-R recursif) | |||
#modif des droits | |||
chmod -R 755 repertoire | |||
</syntaxhighlight> | |||
== MySql == | == MySql == | ||