diff --git a/pages/common/echo.md b/pages/common/echo.md index b07a1fb1b8..e44beffd54 100644 --- a/pages/common/echo.md +++ b/pages/common/echo.md @@ -22,3 +22,7 @@ - Enable interpretation of backslash escapes (special characters): `echo -e "{{Column 1\tColumn 2}}"` + +- Print the exit status of the last executed command (Note: In Windows Command Prompt and PowerShell the equivalent commands are `echo %errorlevel%` and `$lastexitcode` respectively): + +`echo $?`