I open my browser with the following command:
./start-tor-browser.desktop
But based on output received from executing another command, I want to basically append search engine addresses and search terms that is executed upon opening the browser. I think this could probably be done somehow by making additions to the command above, but again I really have no idea what I'm talking about here.
You can use Tor Browser pretty much like any Firefox from the command line. For all the options type
For example to pass it a URL to open on startup, type
You can also define a default search engine and pass it a search term using the --search option.
Edit: The same works with plain Firefox of course.