3 ms·
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 apostrophe
by vog 16y ago
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.
- parenthesis 16y agowatch -n 120 'lynx -dump http://news.ycombinator.com'
- Monkeyget 16y agoThere is a unix command for that : tr ‘’“” \'\'\"\" | sh
- iopuy 16y agoIt wordpress :-(
- dmoney 16y agoThis plugin is supposed to stop quote replacement: http://coffee2code.com/archives/2004/06/27/plugin-wpuntexturize/ http://coffee2code.com/archives/2004/06/27/plugin-wpuntextur... Haven't tried it myself.
- liuliu 16y agoSince 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