this post was submitted on 16 Nov 2023
-79 points (6.6% liked)

Linux

48178 readers
931 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 
https://pastebin.com/p6PmeQDm

Just sharing how "magical" the CLI can be. You are welcome.

-EDIT Did a little "oopsie" there. My bad. It's fixed now.

-EDIT2 Nvm that, lemmy disliked my code for some reason. It's in the pastebin link. And the code in there is working as intended.

all 11 comments
sorted by: hot top controversial new old
[–] [email protected] 36 points 1 year ago (1 children)

I wouldn't even run this on someone else's machine.

[–] [email protected] 17 points 1 year ago

I ran it on my boss’ laptop.

[–] [email protected] 15 points 1 year ago

Why tf would anyone run a random shell script on their machine? You don’t even need an RCE anymore you just need a dumb ass on social media.

[–] [email protected] 11 points 1 year ago

Downvote, block user and move on.

[–] [email protected] 5 points 1 year ago

Ye run this script which uses GCC and launches compiled result, what could possibly go wrong

[–] [email protected] 4 points 1 year ago

Show don't tell

[–] [email protected] 3 points 1 year ago

https://imgur.com/8p7oPbp

spoilerIt's fine guys, I ran it in a VM with no networking.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

If you want to run some less low-level code to explore the kinds of sounds that code like this can create, I wrote a python applet that lets you explore random and custom functions interactively. It comes with several presets for interesting functions I've discovered on various websites.

YouTube video

source code