9

The script command typecasts the terminal activity to a particular file. I understood that part, but is there a way it can be made to append to an existing file?

The end goal for me is to make the script append the data to an existing file with a timestamp that is achieved by the date command. And ultimately have a launcher that pre-executes this upon its launch and I have a logfile of every output on my terminal. I think I have the puzzle solved except for making the script command append.

1 Answer 1

8

As the man pages says, the -a option is for append

script -a file

If file is missing, the default typescript filename is used.

1
  • 2
    dang! i forgot to go through the man pages yet again!!! Thanks a ton @enzotib ! Cheers! Jun 15, 2011 at 5:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .