** Format the PATH and make a note of it as it will be used when resetting. ** **
$ echo $PATH /home/yourname/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:
$ export PATH=$PATH:/usr/local/bin/:/usr/bin/
If you just execute it in a terminal, it will be valid only in the terminal where you executed it, so describe it in
~ / .bashrc etc.