In the spirit of my last blog post… I’m writing this one too, in part, because I simply don’t use the shortcuts often enough to actually remember them.
I’m not going to list all the commands here, I’ll list those I use the most.
1. How do you capture the entire screen?
Just press the Command + Shift + 3. A .png image will automatically be saved to your desktop. Nice and handy.
2. How do you capture a portion of the screen?
Again, simple…. press Command + Shift + 4. You’ll now be able to select a section of the screen with the mouse. And just like the first, a .png image will be saved to your desktop.
This is something that I need to do from time to time. And I thought I would post it here so it would be a bit easier for me to remember the command…. since I don’t do it everyday, I always tend to look up syntax.
I often move sites from a server to another or need to have something running on an internal network and using the hosts file is a great little tool for me to run tests.
So to refresh your Mac’s hosts file, you would do something like this:
sudo niload -v -m hosts . < /etc/hosts
The command prompt may very well prompt you for password (just so you know).
I’ll also credit a website that I’ve stumbled on a couple of times when I’ve looked up the command’s syntax…
– EDIT –
Should also note that this applies to older versions of Mac OS X, like Tiger (10.4).
On more recent versions, you only need to edit the host file. Make sure you clear your browser’s cache!