Txt

Byte sized tech know-how.

  • Home
  • About

Tag Archives: log

13 Mar

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
admin Posted in Command Line, Linux command, dmesg, file, filler, Linux, log, messages, monitor, tail, troubleshoot 2 Comments
16 Sep

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=- | bzip2 > log.tar.bz2
admin Posted in Command Line, Linux bzip2, compress, extension, find, log, tar Leave a comment
21 Feb

Tail Command in Follow Mode

View in real time what is added to a file. -f stands for Follow


tail -f /var/log/messages
admin Posted in Command Line, Linux command, follow, Linux, log, tail Leave a comment
28 Dec

last Command

The last command shows a history of logins…


last
admin Posted in Command Line, Linux cli, command, event, history, last, Linux, log, login Leave a comment
02 Sep

Watch a Log File for Changes using tail

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


tail -f log/development.log
admin Posted in Command Line, Linux cli, command, Linux, listen, log, tail, watch 1 Comment

Post navigation

Categories

  • Code
  • Command Line
  • Configuration
  • CSS
  • HTML
  • internet
  • JavaScript
  • Linux
  • Mobile
  • Perl
  • PHP
  • Python
  • Ruby
  • Uncategorized

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Fruitful theme by fruitfulcode Powered by: WordPress
↑