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...
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...
I find these commands useful to kill all processes running from a given script or have the same process name: kill -9 `ps -ef | grep scriptname.sh | grep -v grep | awk ‘{print $2}’` kill -9 `ps -ef | grep...