Bryan Brake wrote:
I am taking an "Intro to UNIX" class at school. The teacher has asked that we send him a copy of our .history files to show what steps we used to complete certain assignments. I was able to setup the history in my .profile by reading ksh(1), but after I rebooted and issued a few commands, I looked at the .hist???? file I created, but it doesn't look the way I expected.

Does it have to be a .history file? Way back when I took classes, we used script(1), which has the benefit of a fixed start and end point, as well as providing the screen output of the command results.

Example typescript file:

Script started on Fri Mar 24 14:05:04 2006
$ echo "howdy"
howdy
$ exit

Script done on Fri Mar 24 14:05:14 2006

Reply via email to