Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Here's what I think I would like ...

A unix command named 'topify' which allows you to create a pipeline of stdio into a top-like, updating, single screen output.

So, let's say you have a command with multiple lines of output - like netstat or certain airport commands - but instead of doing silly things like I do now:

  while true ; do airport -s ; sleep 10 ; tput clear ; done
... I could `topify airport -s` and I would just get a nice, single page, constantly refreshing output summary.

There are a LOT of commands I wish I could 'topify' from time to time ...



Have you tried watch[0]? Sounds like it might be a decent solution for what you want.

[0] https://linux.die.net/man/1/watch


No, I had not seen that - I will take a look.

Thank you!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: