All commands written earlier in the file
.bashrc manually, after saving the changes will be deleted.
After connecting to hosting via SSH working with a hosting account is done by entering commands in the command shell Bash... Bash has a config file
.bashrc, which is located in the root directory of the hosting account. The commands in this file are automatically executed each time the shell is started. In the control panel, you can configure the basic shell settings: install the required PHP and Python versions, as well as set the required aliases. The setting is performed through the section "Hosting → Linux configuration»:
After specifying the required data, click “Save"To make changes to
.bashrc... They will take effect automatically for new SSH connections. To apply the new settings in the console that was open before the changes were made, run the command
source ~/.bashrc or its shortened version
. ~/.bashrc, or just reconnect.
Button "Reset settings»Returns the standard PHP and Python versions, and also removes all user aliases, completely reverting the files
.bash_profile to its original state.