![Forrest logo](/images/logo.png)
bash:tldr:73c4d
The command "bash --norc" is used to start a new Bash shell without executing the user's Bash startup files, also known as the "rc files."
The Bash shell reads and executes the contents of various configuration files when it starts up, which can customize its behavior and define certain settings. These configuration files are usually located in the user's home directory and have names like ".bashrc" or ".bash_profile".
By using the "--norc" option, Bash ignores the default loading of these configuration files, preventing any customizations or settings defined in them from taking effect. It starts with a clean slate, using only the default settings defined by the system.
This command can be useful in situations where you want to temporarily disable or avoid using any customizations or settings defined in the rc files.