The select loop is not a regular shell loop. It can be used in Bash to generate a simple menu from which a user can select numbered options.| Shell Tips!
Learn how to count the number of files in a directory using the Linux command line ls, find, and a native bash shell solution with globs and arrays.| Shell Tips!
Learn how to script a Bash If statement with the then, else, and else if / elif clauses. Includes Bash conditional expressions and common pitfalls to avoid.| Shell Tips!
Learn about the Bash null command, also known as the POSIX shell colon command. This post cover concrete use cases and pitfalls to avoid.| Shell Tips!
Learn how to parse a CSV file in Bash and avoid the common pitfalls. Includes examples using bash builtins and the awk command line.| Shell Tips!
This guide covers how to use the bash array variables as indexed or associative bash arrays. Includes how to declare, iterate over, sort, and other array operations.| Shell Tips!
Learn how to do math arithmetic with integer and floating-point in Bash. Includes addition, subtraction, division, multiplication, and also floating-point precision.| Shell Tips!
Improve your productivity at the Linux command line and in Bash scripting with globbing by using Wildcards as glob patterns or extended glob expressions.| Shell Tips!