How do I write a simple shell script (say script.sh), so that I can pass a URL as an argument while executing?
I want a browser to start with the page opened on that URL
If you want a cross-OS solution and are comfortable using Python (3):
Try this:
import webbrowser webbrowser.open('https://yoururl.com')
Or in a terminal/cmd:
python -m webbrowser -t "https://yoururl.com"