I'm trying to set a commend like this
alias edit=nano
When I reboot the alias is gone
How do I make the computer remember this setting?
Thanks
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
alias
There are two scripts responsible carrying out login commands. They are called .bash_profile and .bashrc (note the leading dots), and they are in your home directory. .bash_profile is executed for login shells, and .bashrc is for interactive shells. Generally, users don't need to distinguish between the two, as the .bash_profile executes .bashrc by default.
So, if you edit ~/.bashrc, the commands in it will be executed when the next shell is invoked (thus, of course, at bootup).
So, if you edit ~/.bashrc, the commands in it will be executed when the next shell is invoked (thus, of course, at bootup).