Experimente o comando abaixo,
history
NAME history - GNU History Library COPYRIGHT The GNU History Library is Copyright (C) 1989-2011 by the Free Software Foundation, Inc. DESCRIPTION Many programs read input from the user a line at a time. The GNU His‐ tory library is able to keep track of those lines, associate arbitrary data with each line, and utilize information from previous lines in composing new ones.
Execute o comando man history
para mais detalhes.