Ultimately, I want to use a bash script to automatically open and log into a website. I was wondering if I could use the curl or elinks commands to log in to a website and then somehow export that to a web browser, or if I could change the preferences on the Firefox web browser to log in with preset credentials. I was not successful in these attempts, and do not know if they are even possible. I'm open to any other methods of accomplishing this task.
Open a webpage and enter a username and password via CLI
command line;login;authentication;browser;web