Originally posted by: TimGilson
OK - you are doing the right thing by telling the shell how many commands you would like it to store using the HISTSIZE variable but when you want to view a specific number of previous commands, you use the following syntax:
history -7
will display your last seven commands. Alternatively using:
history 18
will show all your commands from the eighteenth to the most recently issued.
I hope this helps!
#AIX-Forum