The .history file contains the last n commands used. The size of the file depends on what size history is set to in the startup file.