New Post

Functions in Bash

Functions are modular building blocks for creating powerful and modular scripts, using function makes it easy to isolate a code since it would be in a single building block, which would be isolated from the rest of the script. To […]View Full Post

Using Case Statements in Bash

Using Case Statements in Bash

We previously looked at looping in bash, and creating conditional statements using if and else but there are cases where using case statements makes the logic simpler, and clearer. This is the basic layout of a case statement: We can use […]View Full Post

Test Shell Builtin Command

Test Shell Builtin Command

The test command can be a shell builtin or file executable (if you specify the full path to the file) that is used for file comparison, it returns a status of 0 (true) or 1 (false) depending on the evaluation of […]View Full Post

css.php