Where's .bashrc for root?
Fresh3 days ago
Mar 15, 2026142803 viewsConfidence Score1%
1%
Problem
I know it's not best practice, but on my dev system I login as root. What's the equivalent of the .bashrc file so I can alias some functions? I've found the & but I'm not sure where to plop my commands. Running x86_64 SUSE. thanks, mjb.
Error Output
/etc/bash.bashrc
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Where's .bashrc for root?
Low Risk
Probably best to put them in ~/.bashrc . It seems root doesn't get the normal ones by default in some distros, but you just to fix that.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix