
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. :-)
Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Stumble Upon
Categorized:
Mac OS X Help
(Article 3748)
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!
Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader. 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 a lot to say, but ...
I do have a comment, now that you mention it!
|
![]()
Search
Find just the answers you seek from among our 1700+ free tech support articles by using our Lijit search engine.
Help!
Subscribe to
Ask Dave Taylor!
Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.
Articles and Reviews
Auctions and Online Shopping Blogs and RSS Feeds Building Web site traffic Business and Management Cell Phones and Mobile Phones CGI Scripts and Web Site Programming Computer and Internet Basics d) None of the Above HTML and CSS Mac OS X Help MySpace, Facebook, Twitter and Social Network Help Pay Per Click (PPC) Search Engine Optimization Shell Script Programming Sony PSP, MP3 Players, Etc. The Writing Business Unix and Linux Help Video Game Tips and Help Windows Help
Recent Entries
Join the List!
Book Links
|