Surfraw is a command line tool that provides access to several popular search engines. It works on Linux and Unix-like operating systems. It can be accessed with the ‘sr’ command.
Surfraw was originally written by Julian Assange.
Surfraw is extensible by creating a new “elvis” to support additonal search engines.
https://linuxaria.com/article/surfraw-surf-the-web-from-the-cli