History file copy

Hi Gurus,
I have written one profile validating script and it is called from profile file while loading.

Now i would like to know how to capture commands executed by user on exit to one file . As to make simple, when i exit from su - oracle ,what all commands are written in .sh_history file should be copied to my_id_commands file . There are many users connecting as su - oracle.

I would like to call it from profile file :rolleyes:
Thanks & Regards
Oramnts

Use can make use of screen command to do this task

Hi,

What is screen command and is there command called screen in unix ?

Thanks
Oramnts