[Editor: Revised completely to reflect the tips added to the comments - thanks everyone!]
If you have a dynamic IP address (one that changes every time you connect to the net), there are a number of GUI tools that will display it for you. However, if you want to be able to get your IP number from a terminal session, the following appears to be the easiest way. The command uses 'wget' to read the contents of a web page that returns your IP address as seen by the external web server, and then processes the web page to extract the IP. The command to type is:
NOTE: Shown on two lines for a narrower window; enter on one line and replace [space] with an actual "space" character.
You'll get a single line containing your external IP address. Note that this will only continue to work as long as tools.lyceum.net doesn't change the format of their web page! Thanks to everyone (see the comments) who contributed to the development of this tip.
Read the rest of this article for an explanation of how it works, and a way to make an easy to use "alias" that will make it as simple as typing "showmyip" or whatever you'd like to call it.
While playing around with some of the latest OS X releases tonight, I managed to mount a disk image (for an image viewer called "Outlaw", which is pretty cool, BTW, for its instant infinite scaling) which simply would not eject. When I tried, I got a message stating that the image couldn't be ejected because it was in use. I knew this wasn't the case, as I had quit Outlaw and pretty much everything else except OmniWeb. To debug and solve the problem, I opened a new terminal window and typed:
fstat | grep "Outlaw"
fstat is a file status program which identifies open files, and then the pipe (vertical bar) passes the output of fstat to grep, the UNIX search program. I asked grep to find the word "Outlaw", which was part of the disk image name. The output of the command was:
robg TruBlueEnv 804 11 19 drwxrwxrwx 264 r /Volumes/Outlaw-0.1b1
TruBlueEnv is Classic, which somehow had the image file open -- even though I had no Classic apps running! At that point, I returned to the GUI, opened System Prefs and stopped Classic. I could then eject the disk as usual from the contextual menu.
So if you've got a stuck image file, take a look at fstat with a search on part of the volume name (to shorten the returned list!) to find what's making your volume busy. NOTE: There may be easier ways to do this (UNIX wizards, any thoughts?) but this was the first one that came to mind when I was faced with the problem.
An interesting thing I found: let's say you're about at the 4th level of your hard drive -- /users/you/documents/stuff/.
If you use the tab (and shift-tab) key when the Finder window is active, it will go through each active folder in your filepath forward (and backward) and essentially flip through all the columns you have. NOTE: It takes one extra "tab" to get back to the top level of the drive, as the tab prior to the last one seems to take you to the column containing the preview.
This is different than using the left/right arrow keys, which actively move your selection; the tab key simply changes the highlight column.
Once the column of your choosing is highlighted (the highlight is on the folder that contains your furtherest-right window), you can use the up and down arrow keys to move down into other folders within that column.
[Editor - Tip from Gorgonzola; modified by yours truly as I experimented with it. Pretty nifty way to navigate the finder, actually!]
When you open a program you usually see zoom rectangles zoom out to the edge of the screen. This Mac OS feature is old and outdated. If you want to get rid of these open your "preferences" folder from "library" (the path is /Users/your_username/Library/Preferences).
Open "com.apple.finder.plist" with TextEdit and scroll down until you see ZoomRects with true below it (or something like that). Change "true" to "false" and save your changes. No more zoom rects!
[Editor's note: Good tip, and I believe TinkerTool and a couple of the other GUI tools let you do this without an edit...]
Hopefully everyone has realized you can resize the Open/Save dialogs in all OS X apps (including Classic, but it's not as useful there). Set the column width view to three or four columns to make navigating the dialogs easier.
What's interesting is that the settings for the Open/Save dialog are saved with each app, so you can (for example) have a wider width on BBedit than you do on mail.app. I use a three or four column view in most places; this makes navigating much easier.
Thanks to Wilson N. for reminding me about the resize features!
According to a tip from Macworld, if you get an error about not being able to connect to the Internet when trying to run Software Update (or Sherlock or Mac Help), you should first open a browser and point it to www.apple.com. Once you've done this, you should be able to run your update (or Sherlock or Mac Help).
Apparently it's related to an error in certain DNS servers (must include mine, as I've seen this error on occasion).
Not sure how I missed this one, but MacAddict published a hack to change the maximum desktop icon size - check it out; they have a pretty funny screen shot! So if 128 pixels simply isn't big enough for you, edit:
Find the DesktopView Options section, and then the IconSize key; below that is a single number; replace it with something much larger and save your changes. Logout/login to see the effects ... the MacAddict article has much greater detail, so check it out!
Tonight I decided to import my IE favorites into OmniWeb 4.0 (final candidate 1). The import went smoothly; much better than it had in previous beta builds. All the folder structures were recognized and everything went into the proper spot.
However, when I relaunched IE, I found that my favorites had been 'flattened'. All the folders were really folders, not bookmark folders, which meant that the structure was seriously messed up. I've written OmniWeb letting them know there seems to be a problem, but in the interim, you might want to back up your IE preferences before you import them into OmniWeb. They're located in /Users/username/Library/Preferences/Explorer/Favorites.html. One complication on my end that may have caused the problem is the fact that I use an alias in that location which points to my favorites on my OS 9 disk.
I recreated the structure by opening the now-flattened file (using IE's File->Open), and then dragging each link into a new bookmark folder that matched my old structure. Took a while, but everything's back to normal now.
Moral of the story? The obvious one ... back up before you do anything!
[Editor's note: I'm certain I published something along these lines before, but I can't seem to find it! Yes, I know, with nearly 500 tips, I need a better indexing system. That's on the ever-growing list of things I'd like to do!]
I haven't read about this anywhere but i have just discovered it.
With multiple apps running in 10.0.2, press and hold command-tab and the dock will appear. Now while still holding command press tab (or shift-tab) and you'll be able to move forward (or backward) through your current running apps.
So, how many of you reboot into OS 9 just so you can empty the trash when you've got Finder Locked files in there?
How often does rm -rf fail on you with "Operation not permitted"?
You too can work around these problems with the terminal command:
chflags -R nouchg,noschg *
See the Man page for more info.
[Editor's note: I did this after doing a "cd ~/.Trash" in the terminal, to make sure I was in my trash folder. I haven't had the locked file problem, but for those that have, this could be a huge timesaver. If you'd like to see what it does first, put "echo " in front of the command.]