public marks

PUBLIC MARKS with tags linux & "shell scripts"

17 August 2020

5 Simple Steps On How To Debug A Bash Shell Script

by orieg
Learn how to quickly debug scripts in Bash with those 5 simple steps that use some of the Bash shell special properties.

11 July 2020

What Is The Right Way To Loop In Bash?

by orieg
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.

24 June 2020

What Is The Best Way To Count Files In A Directory?

by orieg
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.

5 Mistakes To Avoid For Writing High-Quality Bash Comments

by orieg
Adding comments in your Bash scripts is necessary to ensure maintainability over time. This post covers 5 Bash comments mistakes to avoid in your shell scripts.

Active users

orieg
last mark : 17/08/2020 13:12