Run a command from bash history

How to ?

When you display the bash history, you can see that all commands have an ID






If you want to run the command 1006, you juste need to add “!” before









If you want to clean the history

history -c

Leave a Reply

Your email address will not be published. Required fields are marked *