Learn how to quickly debug scripts in Bash with those 5 simple steps that use some of the Bash shell special properties.| Shell Tips!
A complete guide on the Linux Bash environment variables with details on how to set, unset, and use the specials shell variables or define custom environment variables.| Shell Tips!
Learn how to write shell scripts with bash functions. This guide includes examples and best practices on how to define, call, and debug functions in bash.| Shell Tips!
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!
Looping over a list of numbers or words is a building block in shell scripts. Learn how to write Bash loops, including for loop, while loop, and until loop.| 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 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!
This guide covers how to format date and time in Linux, Mac, and the Bash shell. Includes how to do date shell operations like adding days or comparing dates.| Shell Tips!