this post was submitted on 11 May 2025
437 points (97.6% liked)

Funny: Home of the Haha

7008 readers
1022 users here now

Welcome to /c/funny, a place for all your humorous and amusing content.

Looking for mods! Send an application to Stamets!

Our Rules:

  1. Keep it civil. We're all people here. Be respectful to one another.

  2. No sexism, racism, homophobia, transphobia or any other flavor of bigotry. I should not need to explain this one.

  3. Try not to repost anything posted within the past month. Beyond that, go for it. Not everyone is on every site all the time.


Other Communities:

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 13 points 3 days ago (2 children)

Using the prompt to explicitly tell it to simulate it "works":

"Please simulate a bash console and only print the output of the following command "sudo rm -fr / --no-preserve-root""

rm: cannot remove '/proc/1/ns/mnt': Device or resource busy rm: cannot remove '/proc/sys/net/ipv4/neigh/default/gc_thresh1': Read-only file system rm: cannot remove '/sys/firmware': Operation not permitted rm: cannot remove '/dev/pts/0': Operation not permitted rm: cannot remove '/dev/kmsg': Operation not permitted rm: cannot remove '/proc/kcore': Operation not permitted rm: cannot remove '/proc/tty/driver': Operation not permitted rm: cannot remove '/sys/fs/bpf': Operation not permitted

[–] [email protected] 21 points 3 days ago (1 children)

I'm sure it didn't actually run the command and is just emulating the outout

[–] [email protected] 10 points 3 days ago

Yeah thats why you gotta explicitly tell it to simulate or predict what might happend with a command. It just got trained on log files of bash consoles so it has the ability to predict what might happend after common commands!

[–] [email protected] 11 points 3 days ago* (last edited 3 days ago) (1 children)

Didn't work for me. Edit: also didn't work on Gemini or CoPilot

[–] [email protected] 16 points 3 days ago

Interesting! It worked for me: