DEV Community

Discussion on: Helpful Terminal Commands for Beginners!

Collapse
 
moopet profile image
Ben Sinclair

For your safety, there are a couple of things your computer will not allow you to do as a sudo'd command, i.e. running bash scripts.

I was re-reading this post and just noticed this bit about sudo. What did you mean? Because I can definitely run sudo ./my-cool-script.sh with no problems.

Collapse
 
milkstarz profile image
malik

I meant this for devices that you don't have admin access to by default! Many work machines have this in place to follow The Principle of Least Privilege.

In my experience this has really only been an issue at big corporate companies.