Use tab to auto complete commands in the command line
Use tab to auto complete commands in the command line Updated: 04/26/2017 by Computer Hope When at the MS-DOS, Windows command line, or a Linux or Unix shell typing in long file names or directories can become a burden. Use the tab key to auto complete the names of directories and files while in the command line. Below, are a few examples of how this can be done. MS-DOS and Windows command line users While at the prompt, typing in one or more letters a file or directory name contains will auto complete the name in alphabetical order. For example, when at the C:\> prompt type the below command. cd p After the above command has been typed, instead of pressing the enter press the tab key. When you press the tab key the first directory that begins with p will be automatically typed into the command. Continuing to press the tab key will cycle through all available directories including the "Program Files" directory. This shortcut can be used any time you need
Comments
Post a Comment