Is there a way to auto-complete previously used IPs and URLs (web) in the command-line? I'm using bash currently.

  • Short answer: no. You can search through bash history, that's probably the closest solution – Sergiy Kolodyazhnyy Dec 7 '16 at 22:28

Well the fish shell used interactively will remember entire commands used of which ip and url commands would be a subset. Fish shell will show you a previously run command in another color ahead of what you are typing in the terminal. to install run sudo apt-get install fish. by running the fish command you can start a fish shell and then autocomplete basically anything you want. running help will get you a lot more options.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.