Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: travelin cat
Open Terminal (/Applications/Utilities/Terminal) and type:
Now for fun let's find out their IP address:
And let's find out who owns the IP block (using the IP gleaned from the previous command):
Inspired by this I thought it would be cool to give our GUI-only friends a few tricks to make their lives easier. What's in your Unix bag of tricks?
say -v Agnes "For Pete's sake, are you reading that web master world again? Oh for crying out loud, make yourself useful for once and take out that fricken trash it stinks."
I'm a Linux man, but it's the same right?
"Similar but different" would be a better description. AFAIK OS X adopted FreeBSD's userland utilities, so some things are subtly not quite the same (netstat is the only thing that comes to mind right now though).
(Linux on the desktop and webservers, OpenBSD on the firewall and OS X on the laptop = recipe for command-line confusion ;-).
Wanna watch whos at your site in real time?
tail -f /var/log/httpd/access_log
wanna see your errors in real time?
tail -f /var/log/httpd/error_log
Having trouble with your mysql tables?
mysqlcheck -u root -p --all-databases --analyze --optimize
Im making a site right now about commands and such related to os x server commands if your interested in the site message me and ill give you the address.