News for hackers. Stuff that matters.
Re:Sick Linux Commands by vog on Saturday December 04, 2010 @08:19AM (#1969163)
I especially like the first command "Like top, but for files". Unfortunately, you can't copy&paste this command into your favorite shell, because the apostrophes (') have been replace with some unicode characters (‘ and ’) which look nicer, but are of course unknown to the shell:

watch -d -n 2 ‘df; ls -FlAt;’

The correct command would have been:

watch -d -n 2 'df; ls -FlAt;'

This seems to be yet another annoying automatism of some blog software.

Re:Sick Linux Commands by parenthesis on Saturday December 04, 2010 @09:02AM (#1969217)

  watch -n 120 'lynx -dump http://news.ycombinator.com'
Re:Sick Linux Commands by Monkeyget on Saturday December 04, 2010 @11:11AM (#1969465)
There is a unix command for that :

   tr ‘’“” \'\'\"\" | sh
Re:Sick Linux Commands by liuliu on Saturday December 04, 2010 @05:13PM (#1970291)
Since watch only display one screen output, it doesn't play nice with something that does a little "hack" to output such as latex. I just figured this out a few minutes ago, and instead, you have to travel through all the output in order to make it run correctly:

  watch latex --halt-on-error hw.tex | tail
Re:Sick Linux Commands by iopuy on Saturday December 04, 2010 @02:25PM (#1969918)
It wordpress :-(
Re:Sick Linux Commands by dmoney on Saturday December 04, 2010 @04:32PM (#1970207)
This plugin is supposed to stop quote replacement: http://coffee2code.com/archives/2004/06/27/plugin-wpuntextur...

Haven't tried it myself.