What Linux command is used to display previous command?

Linux

1 answer

Answer

1037364

2026-03-19 00:50

+ Follow

Linux
Linux

The history command is used in Linux to display a list of previously executed commands. You can also use the up arrow key on your keyboard to cycle through previous commands one at a time. To repeat the last command, you can simply type !!.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.