« Commandes BASH » : différence entre les versions
| Ligne 84 : | Ligne 84 : | ||
=== Afficher les dernières lignes d’un fichier === | === Afficher les dernières lignes d’un fichier === | ||
<syntaxhighlight lang="bash" line copy> | |||
tail /var/log/syslog | |||
</syntaxhighlight> | |||
=== 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) === | ||