Sponsors

Apple Store

Visit the official Apple Store to buy a Mac online. Free shipping!



Editors' Picks


Comments

Contact Us

Search

Top Posts

Categories

Recent Posts

Our Feeds


Archive for 'Command Line'

Require a password on waking from sleep, but not when screensaver is active

Have you ever wanted to have your mac require a password on waking from system sleep, but not ask for a password when the screensaver is on? Well, me neither, but someone out there might and it’s kind of a nifty customization tip. I came across this nice trick on TUAW that I thought it [...]

How to Scan a Windows Network for Conficker Virus from Mac OS X

Mac users are largely immune to the world of virus and trojans, but it’s not uncommon for you to be a Mac user in a LAN sea of Windows PC’s. The Conficker Virus is Windows only but it’s garnering a lot of attention, so if you’re on a Windows LAN at home, work, or [...]

How to easily mirror an entire web site locally

It’s very easy to mirror an entire web site on your local machine thanks to the terminal command wget, here’s how to do it:
Launch the Terminal and type the following command, replacing guimp.com (a tiny website) with the URL you desire to mirror locally.
wget -m http://www.guimp.com/
This will download the entire site on your [...]

Show Hidden Files in OS X

Here’s a quick tip. If you find yourself needing to access hidden files on your Macintosh, run this from the terminal. Please note that the inverse of the first command will restore your default settings.
Display Hidden Files
# defaults write com.apple.Finder AppleShowAllFiles TRUE
# KillAll Finder

Mac OS X: Change your User ID

Recently I connected my Mac to my linux based NFS server at home. I use NFS to access files from two other Linux boxes and on each server my UID (unique id) is set to 1000. In order for me to easily have full access to my NFS shares from OS X I [...]

Command Line Back Ups in OS X

These days there are no shortage of ways to backup your Macintosh. Probably the most popular method available to an end-user is Apple’s Time Machine (first introduced in Mac OS X 10.5). Personally, I was very impressed with the ease of use offered by Time Machine, but I am a command line junkie [...]

5 useful Mac OS X command line tips you should know

Like many other power users, I’m addicted to the Mac OS X command line, any reason at all for me to launch the terminal I take as an opportunity to learn more about the powerful backend of our favorite operating system. Here I have gathered 5 useful commands that will make your life easier [...]

Easily Mount an ISO in Mac OS X

If you’re wondering how to mount an ISO image in Mac OS X, it is very easy. In the Terminal type the following command: hdiutil mount sample.iso with sample.iso being the path to the image you want to mount. After the checksum is completet, your ISO will appear mounted on your Mac OS X [...]

How to flush your DNS cache in Mac OS X

If you’re a systems administrator or a web developer, chances are you’ll have to flush your DNS cache every once in a while to get things straightened out serverside. Flushing your DNS cache in Mac OS X is actually really easy, and there are two different commands to use, one for Leopard and for [...]

How to spoof your MAC address in Mac OS X

A MAC address is a unique identifier assigned to your network card, and some networks implement MAC address filtering as a method of security. Spoofing a MAC address can be desired for multiple reasons, and it is very easy to spoof your MAC address in both Mac OS X 10.4 and 10.5. For the [...]