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

0

310
Views
usando reloj, cola y ccze juntos

He usado reloj y cola juntos así:

 watch -n 5 tail -n 15 mylogfile.txt

También he usado tail y ccze para colorear el archivo de registro como se muestra a continuación:

 tail -f -n 50 mylogfile.txt | ccze

Pero no sé cómo debo usar estos tres juntos en un solo comando. ¿Alguien tiene alguna idea?

about 3 years ago · Santiago Trujillo
1 answers
Answer question

0

Las versiones recientes de watch tienen -c | --color de color, así que tal vez esto funcione para usted:

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

Discover the new way to find a job!

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

Andres GPT

Recommend me some offers
I have an error