TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Top 5 Shell Commands for Working with Data Files

2 pointsby craig552ukalmost 13 years ago

2 comments

ColinWrightalmost 13 years ago
I also regularly use <i>tee</i> 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 <i>tail</i> or <i>tail -f</i>.<p><pre><code> # complex_command &#62; output_file &#38; # tail -f output_file </code></pre> 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 <i>ETA</i> to estimate when tasks will finish.<p>Typos:<p>"Here's my top 5 ..." should be "Here <i>are</i> my top 5 ..."<p>"At it's simplest ..." should be "At its simplest ..."<p>"... a single file in to many." should be "... a single file into many." Same error occurs shortly after.<p>"...a work on Awk ..." should be "...a word on AWK ..."
评论 #4255137 未加载
craig552ukalmost 13 years ago
I've posted this to HN for the discussion more than anything else.<p>What are your top shell commands for working with data files?