Why are sudo su and bash root script paths different?
36644
Why are PATH variables different when running via sudo and su?
116001
Why does the root user need sudo permission?
86191
What is the difference between 'sudo' and 'su -c'
18926
Type 'sudo' is not known in source list
131429
Why can't sudo find a command after I added it to PATH?
79034
Executing a Bash Script Function with Sudo
110154
Why doesn't `sudo cd /var/named` work?
88413
Best practices on using sudo in a bash script
126609
What is the difference between running "bash script.sh" and "./script.sh"?
107312
How to use shell wildcards with sudo?
139274
What's the difference between 'sudo [command]' and 'sudo sh [command]?
108798
Run Bash Script as Root
113730
how to run two commands in sudo?
85093
'sudo su -' vs 'sudo -i' vs 'sudo /bin/bash' - when does it matter which is used, or does it matter at all?
117033
Setting the PATH so it applies to all users, including root/sudo
47119
Sudo comes up with an error, cannot run anything as root
93618
bash profile works for user but not sudo