Skip to main content
LINUX-FUNDAMENTALS5 MIN READ

Sort Shell Symbols by What They Change

Classify common shell syntax by the part of command execution it affects.

Sort each shell feature by the layer it primarily affects. Name or text expansion Stream routing Status-based sequencing Literal protection *.log expands to matching filenames $DEST expands a variable value cmd1 | cmd2 connects stdout to stdin > sends stdout to a file 2>&1 joins stderr with stdout cmd1 && cmd2 runs second command after success cmd1 || recover runs fallback after failure single quotes keep most characters literal double quotes preserve spaces while still allowing variable expansion

Read the full lesson

Sign up free — one personalized lesson every day, matched to your role and goals.

Already have an account? Sign in

← Back to library
Contact us