Consider:
ssh -i "key.pem" root@server.com
Is there a quick way to jump to the beginning of "root" in such a Bash command in the terminal, without iterating over every word/character?
Consider:
ssh -i "key.pem" root@server.com
Is there a quick way to jump to the beginning of "root" in such a Bash command in the terminal, without iterating over every word/character?
Yes. Bring up the last command using up arrow. These shortcuts will help:
To search the command line and the command line history, use:
See also this page and google "Bash command line editing" for more tricks.