r/linux • • Mar 30 '15

Stop using tail -f (mostly)

http://www.brianstorti.com/stop-using-tail/
830 Upvotes

219 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Mar 30 '15

[deleted]

37

u/sccrstud92 Mar 30 '15

I don't think it's a clickbait title. It could be a bad article, but the title and content agree at least.

56

u/paholg Mar 30 '15

Yes, but the title doesn't tell you much about the article. It's phrased so that you go "Why should I stop using tail -f? I better click and find out." That is what it means to be clickbait.

If the title were something like "Use less +F instead of tail -f" then it would convey much more what the article is about, but would filter out anyone who already knows about "less +F".

-4

u/[deleted] Mar 30 '15

The point of a title is to be a short phrase that lets the reader know what additional information they will learn if they read the entire article.

11

u/paholg Mar 30 '15

And this title doesn't do that. The article is about using "less +F" but it is mentioned nowhere in the title.

1

u/[deleted] Mar 30 '15

When I read the title, is was pretty obvious to me that the content of the article would contain information about why I shouldn't use tail -f and what I should use instead. As such, it functioned precisely how titles are supposed to function.

5

u/paholg Mar 30 '15

When I read it, I thought it would point out some problem with tail -f, some reason not to use it. It didn't. It just offered an alternative.

2

u/[deleted] Mar 30 '15

It certainly pointed out a problem with tail -f:

We all have been there: You are watching a file with tail -f, and then you need to search for something in this file, or just navigate up and down. Now you need to exit tail (or open a new shell), and ack this file or open it with vim to find what you are looking for. After that, you run tail again to continue watching the file. There's no need to do that when you are using less.

9

u/[deleted] Mar 30 '15

A problem that hardly anyone has because of scroll buffers in modern terminal applications and terminal multiplexers.

The title is purposely vague to get you to click on it, it is click bait. A more terse title would have been "Why less +F is better than tail -f", but this would get less clicks because most people don't give a shit about that.

Simply saying "Stop using tail -f" will catch your attention because it could mean tail has a security exploit or some other more serious issue other than 'it has no built in scroll buffer'.

This is the definition of clickbait. Getting people to click an article that they wouldn't have clicked on if they knew what the article was actually about.

→ More replies (0)