Command Dispatcher Pattern 1@echo off 2setlocal 3 4set "command=%~1" 5 6if "%command%"=="start" goto :start 7if "%command%"=="stop" goto :stop 8if "%command%"=="restart" goto :restart 9if "%command%"=="status" goto :status 10goto :usage 11 12:start …
Read MoreCollection of useful shell commands and scripting techniques across different shells and platforms. Topics Bash Commands & Scripting - Linux/Unix shell scripting and useful commands PowerShell Commands - Windows PowerShell scripting and cmdlets CMD Commands - Windows Command Prompt commands Zsh/Sh Commands - Z …
Read More