Solved

AIX: how to send file to clipboard so I can paste it on notepad?

Posted on 2012-03-13
2
693 Views
Last Modified: 2012-03-13
Hello Experts,

I would like to copy a huge log file from my AIX box to notepad.... if I cat it, it takes too long to select it to copy it...

is there a way to send my 'cat' results to my clipboard?

thx for your help...
0
Comment
Question by:epifanio67
2 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 37714642
Hi epifanio,

which terminal emulator do you use?

If it's PuTTY you can easily configure a session log which will contain your output. e.g. the one of "cat".

In the PuTTY configuration window, select "Session - Logging" on the left.
On the right choose "Printable Output" and enter a filename and path of your choice.

Click "Apply". Now run your "cat" command, then go back to the Configuration window and turn off logging by selecting "None".

Edit the logfile using the Notepad. Remove unwanted parts of the output (e.g. shell prompts) and you're done.

wmp
0
 

Author Closing Comment

by:epifanio67
ID: 37714702
thank you
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question