Solved

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

Posted on 2012-03-13
2
754 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

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…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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

632 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