Unix/Linux

Restart Zend Server on Mac OSX

From the terminal:

sudo /usr/local/zend/bin/zendctl.sh restart

Monday, February 6th, 2012 Unix/Linux No Comments

SFTP OSX to Unix – Uploading/Downloading files remotely

I have needed this several times and always seem to forget the exact syntax and method to get the job done.

This website provides a great run-down!

http://it.unm.edu/howtos/715.html

Thursday, June 23rd, 2011 Unix/Linux 1 Comment

Force your users to login – Kill the Sessions!

Recently I had the need to clean out the users from our system and have them login again so that the correct user groups could be stored in the session etc. So this little snippet could come in handy again, and I thought it would be a good thing to have on here.

User session data: /var/lib/php/session

rm -f /var/lib/php/session/sess*

This will force remove all files beginning with ‘sess’.

Tuesday, June 29th, 2010 Unix/Linux No Comments
[ad code=1 align=center]