Category: CentOS6

Umask – Table of ALL values and their effective permissions

I found the following table on this IBM developer blog post. This is very handy: Table of all umask modes and resulting file permissions and directory permissions generated from script: umask File Permissions Directory Permissions umask File Permissions Directory Permissions 0...

Copying all files with a certain extension from all subfolders in a directory

I had to copy all of the files (calc scripts) from my Essbase servers’ application directories, and wanted to preserve the folder layout in the destination. I ran the following against all of my servers to achieve this: cp --parents `find...

Cron script to check Planning web app status

I was searching around for a way to monitor my Planning web servers, and I found the following post by Mike (https://grepular.com/Monitor_Your_Website_Automatically_From_Cron). I followed his advise, but customized his commands into the following script (which I croned) to both email and...