02-21-05 11:00 PM
puzzlecracker <ironsel2000@gmail.com> wrote:
>Say that when you run the Unix command junky in your shell, it spits
>out a ton of text to the console, too much for your console buffer to
>hold. How would you run it so that you can look at everything it
>outputs after it finishes?
If you get a large, high-resolution monitor, you can set the text size REALL
Y
small, and still be able to read it. You should be able to get three or fou
r
times the amount of information you used to.
Better yet, use a real teletype, as Unix was designed. As long as
you don't run out of paper, you can scroll back as far as you want.
Alternately, you can use the power of Unix to answer such riddles - pipeline
s
of many commands can make life very easy.
junky | cat | rev | more | rev | cat | less
is likely to do the trick. There may be more efficient ways, but they take
less typing.
p.s. you might try comp.unix.questions rather than comp.unix.programmer. Th
is
isn't really a programming question.
--
Mark Rafn dagon@dagon.net <http://www.dagon.net/>
"America is at that awkward stage. It's too late to work within the system,
but too early to shoot the bastards." -- Claire Wolfe
[ Post a follow-up to this message ]
|