blogarchivesoftwareunix-tips

Unix tips

list just directories
ls -d */

ip alias in os x
sudo ifconfig en1 alias 10.10.10.10

phpmyadmin date format string
%Y-%m-%d_%H.%M.%S___DB__

reverse lookup ip number
dig -x ipnumber

ssl connect to webserver like telnet for testing
openssl s_client -connect well.com :443
(and then GET / HTTP/1.0 newline newline or something similar )

make tar file without resource forks
find foldername | pax -w -x tar > tarfilename.tar

Generated with nanoc - a Ruby content management system for building static web sites.