quinta-feira, 1 de abril de 2010

AIX command history

The command history is indeed stored in the .sh_history file in the home dir of the user.

The command "history" is actually an alias for "fc -l." /usr/bin/fc allows you to parse, edit, and otherwise abuse a command history. "-l" is the option to list, and the number is an optional argument of how many lines you want.