commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
zsh has a powerful correction mechanism. If you type a command in the wrong way it suggests corrections. What happend here is that dir is an unknown command and zsh suggests gdir, while maybe ls was what you wanted.
If you want to execute gdir hit y (yes)
If you want to try to execute dir anyway hit n (no)
If you want to execute completely different spelt command like ls hit a (abort) and type your command
If you want to execute a similar spelt commant like udir hit e (edit) and edit your command.
There are 12 alternatives - vote for the best!
If you can do better, submit your command here.
You must be signed in to comment.