Saturday, 22 May 2010

TIP: If you want to record all the terminal entries while you work

If you are at times trying out new software (like SpringRoo) which use terminal to perform all the tasks. You might be wondering how to record all console entries as you type - for future reference or simply to copy & paste important ones for future use. This is where script comes to the rescue[gallery]
To use:
$ script <filename>
$ <start your other commands>
...
...
$ Ctrl+D -> When done with your work
$ cat <filename> -> to get the output..

No comments:

Post a Comment