• Jobs
  • Bootcamp
  • About Us
  • For professionals
    • Home
    • Jobs
    • Courses and challenges
    • Questions
    • Teachers
    • Bootcamp
  • For business
    • Home
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

173
Views
using watch , tail and ccze together

I have used watch and tail together like this:

watch -n 5 tail -n 15 mylogfile.txt

Also I have used tail and ccze for colorizing log file as below:

tail -f -n 50 mylogfile.txt | ccze

But I dont know how should I use all of these three together in a single command. Does any one have any idea?

11 months ago · Santiago Trujillo
1 answers
Answer question

0

Recent versions of watch has -c | --color option, so perhaps this will work for you:

watch -n 5 -c 'tail -f -n 50 mylogfile.txt | ccze'
11 months ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post job Pricing Our process Sales
Legal
Terms and conditions Privacy policy
© 2023 PeakU Inc. All Rights Reserved.