Ho aggiunto questa riga al mio file ~/.bashrc .
alias myserver='ssh [email protected]'
Tuttavia, quando apro il terminale ed eseguo myserver , terminal si lamenta che
-bash: myserver: command not found
Quando provengo il mio file .bashrc, comunque, ( . .bashrc ), l'alias funziona.
Tuttavia, non desidero generare il file ogni volta che apro il terminale affinché l'alias funzioni. Come posso farlo?