×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Save screen output to a file

Save screen output to a file

Save screen output to a file

(OP)
Few years ago I was so accustomed to using the "print" command on the Solaris box, that allowed me to save all the screen outputs to a file name you specify. Hence, if you needed to share that details with somebody else, all one had to do is submit this file.

I believe, i had to press Ctrl-Z to create an EOF, thus a named file will be created.

Can someone please help me to use that syntax again on Solaris. I want to be able to save everything I do on the scren to a file and view it later. I have forgotten the syntax.

Thanks,
Shan

RE: Save screen output to a file

Use the "script command. It will save both commands and their output to a file.

 

RE: Save screen output to a file

(OP)
SamBones, you caught up with me by 2 mins. I was just able to locate that command on this Forum. Yes! I got it now, it is actually "script" command and not "print".

Sincerely appreciated,
Shan

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close