How can I check the changes I’ve made to my dotfiles for a course?

The bash -n command can assist with verifying changes to your dotfiles, for example:

bash -n .bashrc
bash -n .bash_profile

If you do not see any errors or warnings, then they passed the syntax check. Otherwise, you may need to run the redot command.


Article ID: 6843
Tue 12/7/21 12:30 PM
Fri 1/14/22 6:16 AM