{"id":22474718,"url":"https://github.com/jthistle/sudo","last_synced_at":"2025-08-02T11:32:16.293Z","repository":{"id":127632085,"uuid":"196032747","full_name":"jthistle/SUDO","owner":"jthistle","description":"Order bash to do things by shouting.","archived":false,"fork":false,"pushed_at":"2019-09-04T09:14:49.000Z","size":21,"stargazers_count":157,"open_issues_count":3,"forks_count":10,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-08T18:54:10.711Z","etag":null,"topics":["bash","sudo","utility"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jthistle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-07-09T15:09:19.000Z","updated_at":"2024-06-12T19:16:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"e63f1e9a-fde5-46d5-83b4-7e61a3622839","html_url":"https://github.com/jthistle/SUDO","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jthistle/SUDO","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthistle%2FSUDO","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthistle%2FSUDO/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthistle%2FSUDO/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthistle%2FSUDO/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jthistle","download_url":"https://codeload.github.com/jthistle/SUDO/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthistle%2FSUDO/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268378965,"owners_count":24240907,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","sudo","utility"],"created_at":"2024-12-06T13:10:22.368Z","updated_at":"2025-08-02T11:32:16.062Z","avatar_url":"https://github.com/jthistle.png","language":"Python","readme":"# SUDO\nOrder bash to do things by shouting.\n\n## How-to\n\nTyping `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:\n\n\tCHMOD +x foo.sh\n\nThat way, bash knows you mean business. Plus, you save yourself three keypresses if you use caps lock, or four(!) if you use shift.\n\n### Other features\n\nYou 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;\nyou need to let your anger out somehow. A typical usage looks like this:\n\n\t$ mkdir /bar\n\tmkdir: cannot create directory ‘/bar’: Permission denied\n\t$ SUDO\n\t[sudo] password for user: \n\t$ /bar\n\tbash: /bar: Is a directory\n\t$ :)\n\n## Installation\n\nRun `install.py`, follow instructions (requires Python 3). Running this script will also allow you to update to new versions.\n\nNote: this will append to your `~/.bashrc`. A backup of your `~/.bashrc` is kept at `~/.bashrc.old` if anything goes catastrophically wrong.\n\nWarning: never run scripts without checking them and being certain that they are not malicious.\n\n## Acknowledgements\n\nThanks to [@rpprroger](https://github.com/rpprroger) for the idea. I just implemented the idea, badly.\n\n  \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjthistle%2Fsudo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjthistle%2Fsudo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjthistle%2Fsudo/lists"}