Txt

Byte sized tech know-how.

  • Home
  • About

Tag Archives: tail

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
13 Apr

First Two Lines

View first two lines of a file


head -2 file

tail -2 file # for last 2 lines
admin Posted in Command Line, Linux command, head, line, Linux, tail 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
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
↑