Skip to content

Comment on Top 5 Shell Commands for Working with Data Files

Comments

I also regularly use tee to take copies of data from the middle of a complex pipeline, and I regularly pipe results into a a file, background the task, and then monitor with tail or tail -f.

  # complex_command > output_file &
  # tail -f output_file
This allows me to leave the ask running while I do other things, then come back and check on it latter. It also lets me use ETA to estimate when tasks will finish.

Typos:

"Here's my top 5 ..." should be "Here are my top 5 ..."

"At it's simplest ..." should be "At its simplest ..."

"... a single file in to many." should be "... a single file into many." Same error occurs shortly after.

"...a work on Awk ..." should be "...a word on AWK ..."

Yes, `tee` `tail` `head` `watch` et. al. are routinely useful.

Thanks for pointing out the typos too. :)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.