Changing Owners Regularly

If you’re an SA and need to change file ownership permissions on a regular basis, this script may help you. If you want to change the ownership of all the files owned by abc user to xyz…


Who Sent Me Mail?

To know who all have sent you mail. —————CUT HERE ———- #!/bin/sh : ${USER:=`expr “\`LANG=C id\`” : ‘uid=[0-9]*(\([^)]*\).*’`} for MBox in /var/mail/$USER /usr/spool/mail/$USER “” do [ -r “$MBox” ] && break done [ -z “$MBox” ]…


File System Capacity Alert script

#!/bin/sh # This script can be used to # warn the users that # the file system is getting full # # Script needs adjusted for your # needs. Below is set to monitor #…


Another Process Finder

psfind command: Here is a quick script that you can use to filter the list of active processes to only those that contain a specified string. Edit into the file /usr/local/bin/psfind ps -ef|grep -i $1|grep…




Microsoft Patch Tuesday – June 2017

Hello, welcome to this month’s blog on the Microsoft patch release. This month the vendor has released 94 vulnerabilities, 18 of which are rated Critical. As always, customers are advised to follow these security best…