Command Up Arrow or Ctrl-P Use Retrieves the previous command from the command history. Syntax Up ArrowOrCtrl + P