- Save the script, for example, as
ddg - Run
sudo chmod a+x ddg - Move the script into your PATH folder
- Enjoy!
- Bash
- Python 3 (should be preinstalled on most distros)
- Lynx (isn't usually preinstalled, install it with
sudo apt install lynxor the corresponding packet manager for your distro