I had to change some path settings to install node.js in turn I must have edited a file that removed the path from the correct directory, whereby sudo, ps, grep etc. live. I am not sure how to reset this and what is the default order:
This is obviously incorrect as there is no sbin, or anything.
I cannot see the files because
default doesn't work so cannot make it visible.
Hopefully someone can help.