Record your nix session : SCRIPT

“script” command is use to record your nix session, whatever you are typing on terminal, whether it is input or output, is recorded in a file “typesctipt”

$ script
Script started, file is typescript
$         { Anothe shell, child shell of login shell }
$ exit  ( ctrl -d )

Script done, recorded file is typescript.

You can also use
script -a              ( append in the existing file )
script logfile        ( create a logfile of your session )

tips ::
* Whenever use “script” always give the output filename like
$ script record1  or script record2

* Otherwise, when you are using “script” command second time, it will overwrite the first one output file

 
 

njoy the simplicity…….
©Victimizeit

Advertisements

About victimizeit
This is Atul.. working for IBM as a DataStage Developer. I may not be an expert on any particular DataStgae technology, but I'm sure I do know a few things about DB2, AIX, Unix, Windows, and DataBase. In this blog, I'll give out some tips on these subjects. If you find them useful, great, I'll be happy. Thanks for stopping by !!

What is your opinion ?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: