03-30-2018, 01:29 PM
"I'd read in several places that you're not supposed to edit ~/.bashrc but when I edited ~/.profile none of the changes worked, so using .bashrc for now until someone can explain why."
On systems like Ubuntu that are installed without a root user and root password ~/.bashrc exists in user configuration space like all ~/.rcs. It is preferable on systems that have a root user in actual root space that significant changes are kept in a profile which corresponds to a specific user because root user configurations also exist. Also for the same reasons ~ will not work with some commands involving recursive file navigation. Also some text editors must be updated as well, as some will fail with changes made to root configurations of bash. Generally, depending on the system, different default text editors exist. Not all are effective at everything on a system by system basis and may respond differently to different bash configurations.
TC
On systems like Ubuntu that are installed without a root user and root password ~/.bashrc exists in user configuration space like all ~/.rcs. It is preferable on systems that have a root user in actual root space that significant changes are kept in a profile which corresponds to a specific user because root user configurations also exist. Also for the same reasons ~ will not work with some commands involving recursive file navigation. Also some text editors must be updated as well, as some will fail with changes made to root configurations of bash. Generally, depending on the system, different default text editors exist. Not all are effective at everything on a system by system basis and may respond differently to different bash configurations.
TC
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.