Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

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

Posted on 2012-03-13
2
Medium Priority
?
825 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 2000 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
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 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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month14 days, 1 hour left to enroll

581 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