How to get multicolored output when watching a file with Linux.

The tail command is a good way to see new content in a file, but it is monochrome output. But there is a better way to monitor files. Use the multitail command instead. This will print muticolored output when printing the last few lines of a file. Install this utility. sudo apt install multitailsudo apt … Read more

Linux commands that prove useful for your day to day workflow.

The UNIX tail command is very useful for viewing the last number of lines of a logfile. As in this example. Showing the last 10 lines in the file /var/log/syslog. |{~}-{Thu Feb 16 21:36:44} -{john@deep-thought } $ tail -n 10 /var/log/syslog Feb 16 21:31:01 deep-thought cron[1480]: (*system*anacron) WRONG FILE OWNER (/etc/cron.d/anacron) Feb 16 21:31:29 deep-thought … Read more