LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-26-2007, 12:15 PM   #1
bostonantifan
Member
 
Registered: May 2006
Location: Leominster, Massachusetts
Distribution: Kubuntu 10.04
Posts: 56

Rep: Reputation: 15
Is there a way to log terminal sessions?


I use ubuntu at work, the main task is running an ssh session in Gnome terminal windows. I need to be able to log screen input & output to a file, the same way it can be done using PuTTY on a Windows machine. I've searched around, and haven't been able to find a way to do it. Any help would be appreciated.
 
Old 10-26-2007, 01:16 PM   #2
i_grok
Member
 
Registered: Jun 2006
Location: Massachusetts
Distribution: Gentoo
Posts: 79

Rep: Reputation: 16
The command 'script' is probably what you want.

To save a session to the file 'mySession', you'd use:

Code:
script mySession
You then do all the work you need to. When you're done, type 'exit'.
 
Old 10-26-2007, 04:30 PM   #3
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
then if you want to see what was done vi or cat the file
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Logging out and starting new sessions through command terminal Cinematography Linux - General 2 09-26-2007 05:52 PM
problem in opening multiple Terminall Sessions in the same Terminal Window gem_skywalker Linux - General 2 12-19-2003 05:52 AM
terminal log? iLLuSionZ Linux - General 8 11-24-2003 08:06 PM
multiple sessions on a dumb terminal rsbecker007 Linux - Hardware 3 06-26-2002 08:00 PM
Terminal Sessions Lcurrah Linux - General 2 09-13-2001 03:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration