Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

tail

Does “less” have a feature like “tail –follow=name” (“-F”)

August 9, 2022 by Magenaut

The command less can be used to replace tail in

Categories Q&A, Unix & Linux Tags less, pager, tail Leave a comment

How do I “cat and follow” a file?

August 9, 2022 by Magenaut

A file is being sequentially downloaded by wget.

Categories Q&A, Unix & Linux Tags cat, files, open-files, pipe, tail Leave a comment

Is it possible to follow a command (run repeatedly)? as one would follow a file using tail -f?

August 9, 2022 by Magenaut

I have a script which produces a file ‘Detail.out’. I know that the script is completed whenever the file contains a certain number of lines (roughly 21025). So I find myself sitting at the command prompt running:

Categories Q&A, Unix & Linux Tags monitoring, pipe, tail Leave a comment

How do I tail a log file and keep tailing it when the latest one changes date?

August 8, 2022 by Magenaut

I’m using RHEL 4.

Categories Q&A, Unix & Linux Tags logs, tail Leave a comment

Why xargs can’t work with tail -f?

August 8, 2022 by Magenaut

I want tail -f /var/log/syslog | grep it with pattern “arpwatch” and send every line to myself via jabber: xmpp [email protected] using xargs

Categories Q&A, Unix & Linux Tags tail, xargs Leave a comment

Is there a way to make tail -F beep?

August 8, 2022 by Magenaut

Is there a way to make tail -F or less beep (ring the bell in a terminal) when new data comes in (a new line is added to the file).
Or is there any other unix utility to do this on a linux or mac.

Categories Q&A, Unix & Linux Tags bell, less, tail Leave a comment

How does the “tail” command’s “-f” parameter work?

August 8, 2022 by Magenaut

$ tail -f testfile the command is supposed to show the latest entries in the specified file, in real-time right? But that’s not happening. Please correct me, if what I intend it to do is wrong… I created a new file “aaa” and added a line of text and closed it. then issued this command … Read more

Categories Q&A, Unix & Linux Tags command-line, monitoring, tail Leave a comment

How to monitor only the last n lines of a log file?

August 7, 2022 by Magenaut

I have a growing log file for which I want to display only the last 15 lines. Here is what I know I can do:

Categories Q&A, Unix & Linux Tags logs, monitoring, tail Leave a comment

What is the difference between “tail -f” and “tail -F”?

August 7, 2022 by Magenaut

I never used tail -F command instead always used tail -f however someone told me that -F is better without much explanation.

Categories Q&A, Unix & Linux Tags tail Leave a comment

View only the new entries in a growing log file

August 7, 2022 by Magenaut

-n, –lines=K
output the last K lines, instead of the last 10; or use -n +K to output lines starting with the Kth

Categories Q&A, Unix & Linux Tags logs, tail Leave a comment
Newer posts
← Previous Page1 Page2
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress