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

86

u/whogots Mar 30 '15

I always feel like such a caveman when I do that, but it's so damned useful.

Occasionally I also make annotations in the fake white space, then copy that into Jira/wiki/whatever.

0

u/[deleted] Mar 30 '15

[deleted]

14

u/[deleted] Mar 30 '15

Well, I feel like a caveman when I'm flailing around on a Solaris 10 sunfire box.

Yea, we still have some of those. Somehow.

4

u/[deleted] Mar 30 '15

We have some Solaris boxes at work and I keep hitting up to go to the last command. It's upsetting.

4

u/tidux Mar 30 '15

set -o vi

ESC-k

7

u/[deleted] Mar 31 '15

oh oh oh! You made me look it up and I found that I can also just type bash at the prompt and I can use bash shell rather than sh! History Ho!

2

u/eythian Mar 31 '15

chsh?

1

u/[deleted] Mar 31 '15

csh apparently - I'm still a little new to shells and their differences, so I didn't even think of just swapping to bash

3

u/eythian Mar 31 '15

chsh is the command to change your default shell.

→ More replies (0)

1

u/[deleted] Mar 31 '15

Give it a try! Add a user with useradd and then change their shell to bash. Do that once without changing their shell to bash, have them say "what is wrong with my command line it doesn't have tab completion" and you will never forget that command. Good times.

2

u/[deleted] Mar 30 '15

Also: stty erase [backspace]

Much sanity can be saved this way