From b24751b99627249a24d47767e6c557fe95eab93b Mon Sep 17 00:00:00 2001 From: Andrew Date: Thu, 8 Aug 2024 23:36:29 +0100 Subject: [PATCH] [suicidal.sh]: add suicidal.sh --- README.md | 6 ++++++ suicidal.sh | 4 ++++ 2 files changed, 10 insertions(+) create mode 100644 README.md create mode 100755 suicidal.sh diff --git a/README.md b/README.md new file mode 100644 index 0000000..dc4f88f --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +# `inutility_scripts`: a collection of miscellaneous scripts that don't do anything useful +This repository was created as a sister repository to the more practical [`utility_scripts`](https://github.com/0hAodha/utility_scripts) +repository to house scripts that were not useful enough to earn a place in there. + +## Overview of Scripts + - `suicidal_script.sh`: a script that deletes itself. diff --git a/suicidal.sh b/suicidal.sh new file mode 100755 index 0000000..62e9e2b --- /dev/null +++ b/suicidal.sh @@ -0,0 +1,4 @@ +#!/bin/sh +# A script that deletes itself + +rm "$0"