Op 17-11-12 17:30, Felix Miata schreef:
On 2012-11-17 14:22 (GMT+0100) Oddball composed:
Is there an easy command to get the output of a tty to an editor?
OT for this list.
Redirection:
e.g. you have output from ls on the screen and want it in an editor. Just hit the up key, then add
> somefilename
to what history just put on cmdline.
Yes, this works. the homedir of root is listed in a file in my user docdir.
For some outputs you may need a more elaborate redirect, such as &>, to capture stderr as well. http://www.tldp.org/LDP/abs/html/io-redirection.html
I tried to follow this guide, but the commands given on the page here above have no impact when typed in a tty here: No reaction at all. I am going to study more, and slower, cause i miss the point. First start with simple things, and if they work, i go on. Walking with one little baby step at the time... ( i now see myself walk my first insecure steps to the table, when i was under a year or so, but as i can walk now, i managed to get hold on it, might be able to learn this also..) -- Have a nice day, Oddball. OS: Linux 3.7.0-rc6-1-desktop i686 Huidige gebruiker: oddball@EeePc-Rob-SFN9 Systeem: openSUSE 12.2 (i586) KDE: 4.9.3 "release 520" -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org