All Projects → jthistle → Sudo

jthistle / Sudo

Licence: gpl-2.0
Order bash to do things by shouting.

Programming Languages

python
139335 projects - #7 most used programming language
bash
514 projects

Projects that are alternatives of or similar to Sudo

Slickr
A collection of python and bash scripts to collect and analyze frame rendering performance in Android apps.
Stars: ✭ 126 (-18.71%)
Mutual labels:  utility
Packagehunter
📥 [Android Library] Hunt down all package information
Stars: ✭ 137 (-11.61%)
Mutual labels:  utility
Japanese.js
Util collection for Japanese text processing. Hiraganize, Katakanize, and Romanize.
Stars: ✭ 150 (-3.23%)
Mutual labels:  utility
Interactor
A Simple Website User Interaction Tracker.
Stars: ✭ 128 (-17.42%)
Mutual labels:  utility
Nightfall
A menu bar utility for toggling dark mode in macOS, written in Swift.
Stars: ✭ 131 (-15.48%)
Mutual labels:  utility
Shpotify
A command-line interface to Spotify.
Stars: ✭ 1,782 (+1049.68%)
Mutual labels:  utility
Thaw Carrots
Thaw carrots by warming up your laptop to a specific temperature
Stars: ✭ 120 (-22.58%)
Mutual labels:  utility
Php Ip Tools
Useful tools for IP manipulations
Stars: ✭ 152 (-1.94%)
Mutual labels:  utility
React Sizeme
Make your React Components aware of their width and height!
Stars: ✭ 1,770 (+1041.94%)
Mutual labels:  utility
Fastify Sensible
Defaults for Fastify that everyone can agree on
Stars: ✭ 147 (-5.16%)
Mutual labels:  utility
Asciigraph
Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies.
Stars: ✭ 1,805 (+1064.52%)
Mutual labels:  utility
Nest Emitter
Strongly 💪🏼 Typed Eventemitter Module For Nestjs Framework 🦁
Stars: ✭ 133 (-14.19%)
Mutual labels:  utility
Wallutils
🌆 Utilities for handling monitors, resolutions, wallpapers and timed wallpapers
Stars: ✭ 145 (-6.45%)
Mutual labels:  utility
Elf Strings
elf-strings will programmatically read an ELF binary's string sections within a given binary. This is meant to be much like the strings UNIX utility, however is purpose built for ELF binaries.
Stars: ✭ 127 (-18.06%)
Mutual labels:  utility
Shallowequal
↔️ Like lodash v3.x isEqualWith but for shallow equal.
Stars: ✭ 151 (-2.58%)
Mutual labels:  utility
Swift Selection Search
Swift Selection Search (SSS) is a simple Firefox add-on that lets you quickly search for some text in a page using your favorite search engines.
Stars: ✭ 125 (-19.35%)
Mutual labels:  utility
Fac
Easy-to-use CUI for fixing git conflicts
Stars: ✭ 1,738 (+1021.29%)
Mutual labels:  utility
Browserselect
Browser Select is a utility to dynamically select the browser you want instead of just having one default for all links.
Stars: ✭ 154 (-0.65%)
Mutual labels:  utility
Weihanli.common
common tools,methods,extension methods etc... .net 常用工具类,公共方法,常用扩展方法等,基础类库
Stars: ✭ 152 (-1.94%)
Mutual labels:  utility
Georaptor
Python Geohash Compression Tool
Stars: ✭ 143 (-7.74%)
Mutual labels:  utility

SUDO

Order bash to do things by shouting.

How-to

Typing sudo chmod +x foo.sh is so boring, isn't it? You really want to chmod that file, so let bash know about it. Be assertive:

CHMOD +x foo.sh

That way, bash knows you mean business. Plus, you save yourself three keypresses if you use caps lock, or four(!) if you use shift.

Other features

You can yell type SUDO to get bash to run the last command you wrote with sudo prefixed. After all, forgetting sudo can be very frustrating; you need to let your anger out somehow. A typical usage looks like this:

$ mkdir /bar
mkdir: cannot create directory ‘/bar’: Permission denied
$ SUDO
[sudo] password for user: 
$ /bar
bash: /bar: Is a directory
$ :)

Installation

Run install.py, follow instructions (requires Python 3). Running this script will also allow you to update to new versions.

Note: this will append to your ~/.bashrc. A backup of your ~/.bashrc is kept at ~/.bashrc.old if anything goes catastrophically wrong.

Warning: never run scripts without checking them and being certain that they are not malicious.

Acknowledgements

Thanks to @rpprroger for the idea. I just implemented the idea, badly.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].