Tag: log

Important Logs

First show system events. Second command show events inherent to the process of booting kernel. tail /var/log/messages tail /var/log/dmesg

Archive all files with a given extension

Find all files with ‘.log’ extention and make an bzip archive find /var/log -name ‘*.log’ | tar cv –files-from=- |…

Tail Command in Follow Mode

View in real time what is added to a file. -f stands for Follow tail -f /var/log/messages

last Command

The last command shows a history of logins… last

Watch a Log File for Changes using tail

This command will let you watch a log file for changes as soon as they happen