Menu
Home
About
Projects
Feedback
Devlog
Notes
Contact
Home
About
Projects
Feedback
Devlog
Notes
Contact
Notes
Require script to be run as root
Edit on GitHub
Nov 22, 2015
Last updated: Mar 13, 2017
Bash Scripting
Run as root
1
[
"
$EUID
"
-eq
0
]
||
{
2
echo
'Please run with sudo or as root.'
3
exit
1
4
}
Browse all topics
Algorithms
Amazon Web Services (AWS)
Android
APIs
Armbian
Bash Scripting
C#
Cheatsheets
Commands
CSS & Sass
Databases
DevOps
Docker
DRAFTS
Expo
Fastlane
Firebase
Flutter
Gatsby
Git & Github
Go
GraphQL
Hardware
Hugo
iOS
JavaScript
Jekyll
JS Interview Prep
Linux
Load Go modules from private repos
macOS
Misc.
Node
Node API
OpenCart
Personal
PHP
Programming
Python
Raspberry Pi
React Native & Expo
ReactJS
Redux
Serverless
System Administration
Typescript
Ubuntu
Web Development
WordPress
Workflow