to access quicker to your login url web without remembering username or password
#make a script below
echo "username" |xclip -sel clip |chromium-browser (input url address for login here https://...)
echo "password" |xclip -sel clip
Explanation of the script above
echo "username" |xclip -sel clip <-- will copy to clipboard your username
.... |chromium-browser` (input url address for login https://...) <-- the second part of the first line will open the login url https://.... in the chromium browser.
or open with another version of google chrome browser use below command:
google-chrome (input url address for login https://...)
to open in firefox
firefox (input url address for login https://...)
- sleep 5 <------ will wait for 5 seconds until execute the next command
In sleep 5 seconds can be arrange longer if the usual login loading in browser will take more than 5 seconds
- echo "password" |xclip -sel clip <---- will copy the password in clipboard
So When the command is executed:
it will copy username in the clipboard
will open the url login to the browser
if cursor already in the login box, press in keyboard Ctrl-v to paste the username
wait for 5 seconds (usually i count 1, 2, 3 .. to 10)
tab to the password box and Ctrl-V will input the password
press enter to login.
To make it simple you can separately make a script for the copy to clipboard command as explain on my other tutorial below.