« Commandes BASH » : différence entre les versions

 
(2 versions intermédiaires par le même utilisateur non affichées)
Ligne 385 : Ligne 385 :


=== Comparer répertoire ===
=== Comparer répertoire ===
<syntaxhighlight lang="bash" line copy>
<syntaxhighlight lang="bash" copy>
diff -rb /rep1/ /rep2/
diff -rb /rep1/ /rep2/
</syntaxhighlight>
</syntaxhighlight>


=== supprimer un repertoire ===
=== supprimer un repertoire ===
<syntaxhighlight lang="bash" line copy>
<syntaxhighlight lang="bash" copy>
rm -rf portail
rm -rf portail
</syntaxhighlight>
</syntaxhighlight>
Ligne 547 : Ligne 547 :


== Profile ==
== Profile ==
<syntaxhighlight lang="bash" line copy>
Relancer /etc/profile/
#relancer /etc/profile/
<syntaxhighlight lang="bash" copy>
source /etc/profile
source /etc/profile
</syntaxhighlight>
</syntaxhighlight>