DotResults - Quick Tech Answers

OS X Terminal Commands, The Basics

by Kayla on November 3, 2009

If you’re a newbie to using SSH, here’s a quick OS X Terminal command guide. These should help you become less dependent on websites to do domain look ups or change passwords in control panels. Becoming friends with Terminal means an increase in productivity.

Commands for Web Site Management

1. host
If you need to find out the IP of a domain, type
[root@droplet ~]# host cloudsy.com
cloudsy.com has address 66.240.232.17

2. whois
You can use whois to quickly find if a domain name exists and its registrar information.
[root@droplet ~]# whois cloudsy.com
[Querying whois.verisign-grs.com]
[whois.verisign-grs.com]
Whois Server Version 2.0
Domain Name: CLOUDSY.COM
Registrar: ENOM, INC.
Whois Server: whois.enom.com
Referral URL: http://www.enom.com
Name Server: NS1.CLOUDSY.COM
Name Server: NS2.CLOUDSY.COM
Status: ok
Updated Date: 28-mar-2009
Creation Date: 25-mar-2009
Expiration Date: 25-mar-2010

3. passwd
If your web host gave you SSH access, you can use it to do simple things in your account like quickly changing your password.
[root@droplet ~]# passwd yourusername
Changing password for user yourusername.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.

4. cd – Navigate to your Desktop
cd /users/yourusername/Desktop
Navigate in a web server
cd /home/yourusername/public_html/site

5. mkdir – Make a new directory
mkdir Photos

6. mv – Move a file into a folder
mv IMG_8151.JPG Photos

DotResults - Don't Forget

Need more commands?
Read this post for how to SSH to a host, specify a certain SSH port, and choose a
private SSH key. If you’d like to see more, just leave a comment!


  • Share/Bookmark

Leave a Comment

Previous post: How to Install Putty on OS X

Next post: OUC Busy Twittering, Leaves Security Shortcomings

  • Free UNIX Shell Account
  • Tags

    birdcage blog hosting services brand new cell phones chili cisco class computing cooking cryptographic software device facebook fonts gadget good idea googles handwriting handwriting font identify internet kindles mac macports online social networking openbsd orlando osx peek perl phone bill php programming language putty reason scanning scanning imaging social media spicy ssh system software terminal twitter UNIX web 2.0 wordpress world wide web

2010 DotResults. All rights reserved. Powered by Selans

Get smarter with the Thesis Theme for WordPress