Skip to content

neil-smithline-shellscripts/rerunasroot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Shell Utilities

This is a collection of various shell utilities that I’ve written throughout the years (actually decades but who’s counting). Everything I post has been written by me and credit is given where it is deserved and I remember. Apologies to anyone I’ve omitted.

rerunasroot

This is a few lines of a shell script that you can source into your shell script to make sure it runs as root. It only works on Linux or other OSs that have a /proc filesystem (ie: no Mac OS X, no Cygwin).

About

Shell script snippet to make sure your shell script runs as root

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages