How would I transfer the output of a command or a program to here, eliminating typin
How would I transfer the output of a command or program or whatever to here, so I don't have to type it? Some output is not copiable (I know this isn't a word)to the clipboard.
Thanks, royeo |
use the redirection symbol (>) to save the output to a file, ie: ls > lsOutputFile.txt
use the pipe symbol (|) to make the output of one command the input of another, ie: dmesg | less |
Quote:
application (or DE) clipboards and uses X primitives. Cheers, Tink |
Output to here
I don't have a 3 button mouse.
Thank you, Roy O'Neill |
You can emulate a third button by clicking both buttons simultaneously.
|
You don't need one, and you're welcome. X lets you emulate a middle-
button by clicking BOTH buttons at the same time. Cheers, Tink |
I think nadroj has the best solution. Also in case your interested Slackbook is a great source of basics. It's well put together and easy to read. If your interested you can find it here: http://www.slackbook.org
|
Quote:
information into the browser easily? Like in a) redirect b) open file in kwrite c) highlight desired text d) copy text e) hope that kwrite and browser share the same clipboard? Cheers, Tink |
you could easily make a perl script to send your cookie and hte post topic .. something like
dmesg | perl postit.pl "Help with device" and have postit.pl do something like while(<STDIN>) { $message .= $_; } and then post the message ( hopefully the mods dont mind this as it could cause some flooding ). |
I wasn't trying be insulting Tinkster I simply meant that "the basics" are often the best solution.
I know it would be a two step solution to redirect and then copy and paste from an X editor but there's not much to learn from point and click and there's a lot of satisfaction in using the command line. So it was simply a personal preference. I try to use command line as much as possible. |
All times are GMT -5. The time now is 05:25 PM. |