The history command in Linux is used to view previously executed commands from the terminal. It will show a list of commands, with an ???id??? next to each command.
Get the Free Newsletter!
Subscribe to Developer Insider for top news, trends, & analysis