|
Did I break my Mac when I got the following error in Terminal?
A concerned reader writes:
I haven't yet read through your book Learning Unix for Mac OS X Panther, but I realize now that I probably need to! Here's what happened: I typed this command "ping www.yahoo.com -f -1 1492" into terminal from a website saying it might help me determine my ideal MTU settings. I believe they mislabeled the instructions and this command should have been for Windows... not Mac. You are safe in experimenting with the Terminal as long as you avoid a few powerful commands (which is no different from experimenting within the Finder as long as you avoid "Move File to Trash" and similar). I'd suggest that you start by learning how the following commands work together:
man pingThat would reveal that the version of ping included with Panther supports the -f flag, but that there's no -1 flag available. Perhaps that was intended to be a -l flag (lower case L) instead? The man page reveals:
-l preload
If preload is specified, ping sends that many packets as fast
as possible before falling into its normal mode of behavior.
So that might well be what the Web site you were reading suggests.
I hope this is all helpful. You might be interested to know that I'm busy revising Learning Unix for Mac OS X for Tiger when it's released and as part of that will be adding more hands-on practice in the slim volume. (which isn't to say that the current edition isn't useful too! You can learn more about it at http://www.intuitive.com/macosx/ if you'd like) Please, do feel free to explore the Terminal. It's a very powerful secret advantage that us Mac people have over the users of The Other Operating System. :-)
Categorized:
Mac OS X Help
(Article 3748,
Written by Dave Taylor)
Tagged: Previous: How do I get SSH & X Windows working? Next: How do I transfer a file from a floppy disk to my ISP's Web server? Subscribe!
I've been battling the same thing, and using the correct l (lowercase L) does not result in a good command (even though the man page suggests that these are supported options. Here's what I'm getting: ping yahoo.com -f -l 1472 usage: ping [-AaDdfnoQqRrv] [-c count] [-i wait] [-l preload] [-M mask | time] I have something to say, now that you mention it, but ...
I do have a comment, now that you mention it!
|
Recommended
Recent Entries
Search
I Need Help!
Apple iPad Help
Articles and Reviews Auctions and Online Shopping Blogs and RSS Feeds Building Web Site Traffic Business and Management CGI Scripts and Web Site Programming Computer and Internet Basics d) None of the Above Facebook Help Google Plus Help HTML and CSS Industry News and Trade Shows iPhone and Cell Phone Help iPod, Sony PSP and MP3 Player Help Mac OS X Help Pay Per Click (PPC) Advertising Search Engine Optimization (SEO) Shell Script Programming Tech Support Video Help The Writing Business Twitter, LinkedIn and Social Network Help Unix and Linux Help Video Game Tips and Help Windows PC Help WordPress Help |