DEV Community

Le Vuong
Le Vuong

Posted on

Windows command line tips

doskey

Ex: create alias for "docker" command

REM create alias for "docker container" command
doskey dc=docker container $*

REM create alias for "docker image" command
doskey dc=docker image $*
Enter fullscreen mode Exit fullscreen mode

Command line shortcut keys

Ctrl-Backspace: delete word backward
Home: Go to start of input line
End: Go to end of input line
F6: Finish input

Top comments (0)