1 2 3 4 |
Almost all logfiles are located under /var/log directory (and subdirectory). You can change to this directory using cdcommand but you need to be the root user. You can use less, more, cat or tail command to see the logs. First you should "wear" your root clothes by typing: [crayon-6766b977a95d6137121222 lang="bash" ]sudo su |
And Then you should go to /var/logs directory:
1 |
cd /var/logs |
and view common log file /var/log/messages using any one of the following command:
1 2 3 4 |
tail -f /var/log/messages less /var/log/messages more -f /var/log/messages vi /var/log/messages |
thnx for reading,
@specktator[/crayon]