« Commandes BASH » : différence entre les versions

Ligne 89 : Ligne 89 :


=== Afficher en live (en temps réel) un fichier (ctrl-c pour sortir) ===
=== Afficher en live (en temps réel) un fichier (ctrl-c pour sortir) ===
tail -f /var/log/syslog
<syntaxhighlight lang="bash" line copy>
tail -f /var/log/syslog
</syntaxhighlight>


=== Afficher le contenu d’un fichier (on affiche les logs principaux, faites ctrl-c pour stopper !) ===
=== Afficher le contenu d’un fichier (on affiche les logs principaux, faites ctrl-c pour stopper !) ===