Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

script unix comand

Status
Not open for further replies.

props

Technical User
Nov 22, 2003
17
GB
i have create a terminal session file named myscript
using : script myscript

Now i want to append on this file what i typed is

script -a myscript

but it does not, work just overwrites on the previous iformation

any help ?
 
great, but how it is connected to C++?

Ion Filipski
1c.bmp
 
He's probably typescripting the errors.

Hows about using cat...
something like:
Code:
script myscript
script secondscript
cat secondscript >> myscript
if the >> causes secondscript to replace myscript, then use > instead (I always mix up which is append).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top