March 11, 2012

View Command History and Repeat the commands quickly

 Most of us know about MS-DOS Command Prompt and various commands in DOS. We can quickly repeat the commands and view the history of commands very quickly. This is done by Arrow keys. When we use large commands repeatedly there is a chance of mistyping/typing errors in command. This error can be avoid by repeat the commands by arrow keys. For Previously used command to be repeated in the next line just press up arrow key. Continuing pressing the up arrow key will scroll through the command s that are typed previously.
For example we previously used ping command (ping 192.168.1.1) in command prompt and we can just press up arrow key to repeat the command . If the command is mistyped then use up arrow key and then using left arrow key to correct the command

Reactions:

0 comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...
Related Posts Plugin for WordPress, Blogger...