Oke let’s start the Shell first
Open Terminal (/Applications/Utilities/Terminal), and wucha!!! Welcome to the World Where Text is a KING
try this first. Type whois roysuryo.info
Now for fun let’s find our celebrity IP address:
Type Host roysuryo.info
And let’s find out who owns the IP block (using the IP gleaned from the previous command):
Type Whois 68.178.232.100
Handy command huh…
lets start with basics and critical command first:
- SSH youruser@yourwebsite.com
- FTP youruser@yourwebsite.com
- curl -o filename.ext http://yourwebsite.com/path/to/filename.ext
- scp /file/on/local/machine /location/on/remote/machine
- tail -f /var/log/httpd/access_log
- and Standart Unix command for daily use such :
The greatest and easy way to control and develop your web server from remote/local
Might not be as easy as GUI FTP clients like cyber duck or Transmit, but it never crashes, it’s free, and it’s on every Mac OS X machine.
When installing downloadable software on a remote server or locally and forget head ache for ’download-to-workstation-and-upload-to-server’.
secure copy is great when you need to move a few files and know exactly where they are going
watch whos at your site in real time or
tail -f /var/log/httpd/error_log
see your errors in real time
which
awk
cat
sed
ping
ifconfig
man (duh)
ls
dmesg
cp
rm
mkdir
rmdir
cd
find
chmod
chown
Have a nice day with your web server ![]()
yay! langsung cobain..
thanks..
uhuhu.. thanks for the visit
and i’m so sorry 4 da L8 reply cuz i’ve just came back frm a long hibernation.. hohoh.. nice 2 knw u anyway