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

Funny: Home of the Haha

6997 readers
386 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
[–] Sakychu@lemmy.world 13 points 2 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

[–] kogasa@programming.dev 21 points 2 days ago (1 children)

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

[–] Sakychu@lemmy.world 10 points 2 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!

[–] Nurse_Robot@lemmy.world 11 points 2 days ago* (last edited 2 days ago) (1 children)

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

[–] Sakychu@lemmy.world 16 points 2 days ago

Interesting! It worked for me: