💻 Software
Ubuntu: Reset $PATH to factory default
Fresh5 days ago
Mar 15, 202653944 viewsConfidence Score0%
0%
Problem
I just made a mistake when adding a directory to path, and executed instead of Consequently, my variable now contains only my own directory, which is of course a problem. I don't know exactly what was in the path before, but if I can reset to factory default I can start from there and add things as…
Error Output
$ PATH=/path/to/my/directory/
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Ubuntu: Reset $PATH to factory default
Low Risk
If you can, just log out and relog in. Otherwise, you can start with and add missing entries.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix