Solved

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

Posted on 2012-03-13
2
674 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

815 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now