https://github.com/siddhant-k-code/four-language-that-can-kill-themselves
https://github.com/siddhant-k-code/four-language-that-can-kill-themselves
cpp languages programming python ruby self-destroy self-destruct self-destruction shell-script
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/siddhant-k-code/four-language-that-can-kill-themselves
- Owner: Siddhant-K-code
- Created: 2020-09-10T03:46:59.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-17T10:49:03.000Z (over 5 years ago)
- Last Synced: 2025-05-18T09:09:20.265Z (about 1 year ago)
- Topics: cpp, languages, programming, python, ruby, self-destroy, self-destruct, self-destruction, shell-script
- Language: C++
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Four-Language-that-can-kill-themselves
4 files, each with a different language. Each file will call the next file, and then commit die. Like this:
```
**main.cpp**
run main.py
kill itself
**main.py**
run main.rb
kill itself
etc.
```
Basically how this works is each file calls 2 shell commands, one to run the next file, and one to commit toaster bath. The bash command to commit skydiving without a parachute is `rm FILE_NAME` .
I also added brief comments on how the shell commands work in each language so you might learn something.
### You Can Try This On : https://repl.it/@SiddhantKcode/Self-Destrcution#main.cpp | *Hit* `Run`