Command Line History

 

17. Command Line History

Many users are aware of the ‘UP’ navigation key to move forth and back between commands, but once you have executed too many commands then it quickly becomes a tiring exercise. Again, there is the doskey /history command to check all your executed commands in a chronological list. However, you can’t select the commands and execute them instantly. You will have to type it out manually and that is again, not the best solution. So if you want to quickly navigate through all your past commands with the ability to execute them immediately, just press the F7 key. You will get a separate window where you can choose a command and execute it then and there. For me, it’s one of the best Command Prompt tricks. Keep in mind, some users need to press the “Fn” key along with F7 to trigger this action.


17. Command Line History

Comments

Popular posts from this blog

Exercise: Write, compile and run a Java program

How to Hack WhatsApp Chats

Huawei nova 7 SE