public marks

PUBLIC MARKS from orieg with tag "shell scripts"

2020

5 Simple Steps On How To Debug A Bash Shell Script

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

What Is The Right Way To Loop In Bash?

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.

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

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

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.

2006

Shell Tips !» Blog Archive » Delete old files by the last access date

A case study about a scheduled method with a batch file for deleting some old files by their last access date on a Windows XP Workstation.

orieg's TAGS related to tag "shell scripts"

arrays +   bash +   bash array loop +   batch +   batch files +   comments +   count files +   debug +   delete file +   globs +   linux +   log +   loops +   profile +   programming +   schedule +   shell +   shell tips +   tips +   trace +   windows xp +