FG
💻 Software

What's the difference between /etc/bash.bashrc and ~/.bashrc? Which one should I use?

Fresh5 days ago
Mar 15, 202622322 views
Confidence Score0%
0%

Problem

When should I use each of the two .bashrc files to set my aliases, prompt, etc?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: What's the difference between /etc/bash.bashrc and ~/.bashrc? Which one should I use?

Low Risk

applies to all users only applies to the user in which home folder it is.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment