netstat pid mac

December 29, 2011

having trouble identifying the pid using netstat on a mac? Try this instead: # sudo lsof […]

kill liferay script

December 19, 2011

Here’s a bash kill liferay script! This should kill any running liferay or liferay social office […]

gzip log files older than one day

December 19, 2011

To Gzip files older than one day place this in a cronjob: TODAY=`date +”%Y-%m-%d”` for logfile […]

install 7zip redhat

December 16, 2011

To install 7zip on a 64 bit Redhat Server: # rpm -ivh http://download.fedora.redhat.com/pub/epel/5/x86_64/p7zip-9.20.1-2.el5.x86_64.rpm # rpm -ivh […]

kill orphaned httpd processes

December 5, 2011

to kill orphaned httpd processes create a script called killhttpd.sh with the following code #!/bin/bash for […]

Generate crontab scripts

December 1, 2011

Someone recently passed me this link and it looks great! You can generate crontab scripts via […]

Contact Us