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

Additional few miliseconds of pressing shift and possibility of making file File when not caffeinated enough is not worth it

0

u/berkes Mar 30 '15

You mean -F will create a file under certain conditions? Never seen that, but I'd love to hear more.

2

u/[deleted] Mar 30 '15

No. I meant typing tail -F Filename instead of tail -F filename by holding shift few ms too long.

4

u/berkes Mar 31 '15

If that is where you'd decisions on using flags and arguments lie, I'd advice you to take up some typing lessons instead.

No, I don't use ClassNames in my code, I might type them as CLassNAmes. No miss brown, I'd rather not type your name with capitals, since I might write it as BRown. and i also never capitalise my sentences.

Or maybe you should clean out your keyboard?

-2

u/[deleted] Mar 31 '15

well of course you never make any typos ever mr. arrogant fuck

1

u/berkes Mar 31 '15

I'm not saying that.

I am saying that if you choose not to use certain features of software based on the fact you may have problems typing said features, you might want to review your priorities.

2

u/[deleted] Mar 31 '15

now imagine that kvm keyboard in data center is not exactly same as my mechanical keyboard on desktop, or laptop.

And that -F is only really useful if for some insane reason your logrotate is running in middle of day

2

u/das7002 Mar 30 '15
alias tails='tail -F'

0

u/[deleted] Mar 31 '15

i sonetimes use mine without -f ? -F is almost never useful anyway

4

u/das7002 Mar 31 '15

It's not replacing tail, it's creating an alias tails to be tail -F

-1

u/[deleted] Mar 31 '15

you need to type \tail to not have it follow tho,

1

u/das7002 Mar 31 '15

I think you are misunderstanding how aliases work. If you use tails it will follow, I'd you use tail it behaves like normal.

1

u/[deleted] Mar 31 '15

no i just misread tails as tail ;p

id probably name it taif or taf