HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to record the text in the CDE xterm
Operating System - HP-UX
1833420
Members
2857
Online
110052
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 06:51 PM
03-25-2003 06:51 PM
Hi,
How do I record all the text in an CDE xterm like when I telnet to a certain server and do an ll, I want to be able to save all the text in my xterm automatically to a file for later review.
Thanks in advance!
How do I record all the text in an CDE xterm like when I telnet to a certain server and do an ll, I want to be able to save all the text in my xterm automatically to a file for later review.
Thanks in advance!
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 07:10 PM
03-25-2003 07:10 PM
Solution
Hi,
Look at the man page of "script".
After telnet'ing to the box, run the command 'script outfile'. This will spawn a subshell and start logging all the commands and their output into the file outfile. You can type "exit" and come out of it.
You can vi 'outfile' and view the contents.
-Sri
Look at the man page of "script".
After telnet'ing to the box, run the command 'script outfile'. This will spawn a subshell and start logging all the commands and their output into the file outfile. You can type "exit" and come out of it.
You can vi 'outfile' and view the contents.
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 07:12 PM
03-25-2003 07:12 PM
Re: How to record the text in the CDE xterm
#script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 07:15 PM
03-25-2003 07:15 PM
Re: How to record the text in the CDE xterm
The script command will do this job, whether you in a xterm, dtterm or standard login session.
e.g.
# script /tmp/out.txt
# commands
# commands
# exit
You can then even email it to yourself should you wish.
# cat /tmp/out.txt | elm -s "my output" my.name@mydomain.com
e.g.
# script /tmp/out.txt
# commands
# commands
# exit
You can then even email it to yourself should you wish.
# cat /tmp/out.txt | elm -s "my output" my.name@mydomain.com
Anyone for a Mutiny ?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP