Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
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…
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 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.:
Suggested Courses
Course of the Month12 days, 23 hours left to enroll

971 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