|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
[Solved] The SCRIPT command - Can we see the log file of a running session?
Hello. This is my situation. Code:
script .anything ls -l . ---How can I see the content of .anything using (i.e) cat .anything? If not possible can someone suggest a sequence to simulate a console-recorder to "observ" from a RUNNING script session? Thanks Paolo
Last edited by vbe; 02-14-2013 at 10:39 AM.. |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
See if the script
-x option might help (execution echo). Read
man sh
|
| Sponsored Links | ||
|
|
#3
|
||||
|
||||
|
a
tail -f .anything perhaps? But not quite sure what you want... from another session of course... (xterm or...)
|
|
#4
|
|||
|
|||
|
Thanks for your replies.
The only viable solution I' ve found is: script -f (flush output after each write) .filename ![]() paolo |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| running a script in a ftp session | jaituteja | Shell Programming and Scripting | 7 | 02-03-2012 10:18 AM |
| running a bash script even after logging out from the current session | nks342 | Shell Programming and Scripting | 4 | 11-08-2011 03:29 AM |
| running script in ftp session | sfaqih | Shell Programming and Scripting | 3 | 11-16-2008 04:41 AM |
| Running a script for every ftp session | h3llh0l3 | Shell Programming and Scripting | 5 | 10-23-2008 01:38 PM |
| Running a script without a terminal session | jjinno | Shell Programming and Scripting | 3 | 10-03-2007 01:50 AM |
|
|