<div dir="ltr">One CLI tool that has been vanishing from default distro installations is "ed". The stream editor, sed, was based on ed, but I guess they forgot about ed when they added the "-i" option to sed for in-place editing. Editing in place is ed's domain. It's especially nice in makefile rules.<div><br></div><div> printf '1i\n// GENERATED from $< - DO NOT EDIT\n.\nwq\n' | ed $@</div><div><br></div><div>Another is my own bkp script:</div><div><br></div><div> <a href="http://noserose.net/e/code/bkp">http://noserose.net/e/code/bkp</a></div><div><br></div><div>3. git</div><div>4. shred (overwrite files before deletion)</div><div>5. lsdiff (from patchutils)</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 6, 2014 at 8:45 AM, JD <span dir="ltr"><<a href="mailto:jdp@algoloma.com" target="_blank">jdp@algoloma.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What are your top 5 "hidden" CLI tools?<br>
<br>
Let's skip the ones we all agree should be used almost daily: ssh, sudo, rsync,<br>
ddrescue, screen, vi, egrep, etc ... definitely no GUI tools.<br>
<br>
Think about the things you have to add-on to any distro to make it more useful.<br>
Check your history to find some and share.<br>
<br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"> Ed Cashin <<a href="mailto:ecashin@noserose.net" target="_blank">ecashin@noserose.net</a>></div></div>
</div>