The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

Views: 2,278     Votes:  5     ✅ Solution
Tags: permissions   sudo   environment-variables   bashrc  
Link: 🔍 See Original Answer on Ask Ubuntu 🔗

URL: https://askubuntu.com/q/1081545
Title: How to add /usr/bin to path after I mistakenly removed it (sudo and nano are no longer in path)
ID: /2018/10/06/How-to-add-_usr_bin-to-path-after-I-mistakenly-removed-it-_sudo-and-nano-are-no-longer-in-path_
Created: October 6, 2018
Upload: November 24, 2022    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


You can prefix the commands with the path:

/usr/bin/sudo /bin/nano ~/.bashrc
⇧ Where is "journalctl" data stored? Formatting Ubuntu 18.04  ⇩