In some OS (i.e. IOS, JUNOS, FortiOS), it supports abbreviation like sh ver is equal to show version. For the shortcut key, if you type sh and press TAB, it will complete the command as show. Is it possible to have such configuration in Windows command prompt?
Asked
Active
Viewed 157 times
0
1 Answers
0
The legacy command prompt offers doskey for operations like defining aliases (macros).
The recommended shell for Windows is now PowerShell, which also offers the alias command and includes a set of built-in aliases and smarter auto-completion for cmdlets. The completion mode still defaults to the standard Windows mode, but it's possible to get it to emulate bash-like completion.