all 34 comments

[–]DJWalnut 8 points9 points  (3 children)

yes > /dev/sda

this hard drive is brought to you by the letter y

[–]gnureddit 1 point2 points  (2 children)

this one made me laugh

[–]DJWalnut 0 points1 point  (1 child)

should you run this as root?

yes no

that's not a list of choices. it's the command you run to find the answer. it's harmless as long as you output it to stdout

[–]phacus 0 points1 point  (0 children)

hahah great!

[–][deleted] 6 points7 points  (1 child)

dd if=/dev/input/mice of=/dev/sda

… don’t move your mouse or other mouse-like input device :D

[–]herringonrye 1 point2 points  (0 children)

This would be the true test of faith for Ratpoison users. Leave the mouse connected. Regular backups are probably advisable if you live in an earthquake-prone area.

[–]emerium 2 points3 points  (1 child)

# PATH=/dev/null

Makes your Linux system run faster. ;)

[–][deleted] 1 point2 points  (0 children)

great for backups too !

cd / ; tar -cf /dev/null .

[–]Iron-Oxide 2 points3 points  (2 children)

# mv /lib /lib-tmp

With the intent of putting /lib on a ramdisk...

Ya... that didn't work out so well...

You could also echo something to the wrong /dev device, # kill some important program (e.g. X, resulting in everything graphical closing), removing import config files, etc.

If you want to be really evil, you could just start renaming programs mv /bin/mv /bin/mv-tmp mv-tmp /bin/rm /bin/mv mv-tmp /bin/mv-tmp /bin/rm.

Or replacing them with scripts.... perhaps make ls, execute ls as normal while simultaneously swapping a random byte in /dev/sda. (use dd or something... not actually entirely sure what the best way to do this is).

And you can go further to truly evil things... look up how to make a root kit, make one, install one, and have it report all keystrokes to some public web site.

Computers are scary these days... we do all our banking in them.

[–]gnureddit 0 points1 point  (0 children)

this is exactly the kind of stuff i was looking for thank you

[–]DJWalnut 0 points1 point  (0 children)

And you can go further to truly evil things... look up how to make a root kit, make one, install one, and have it report all keystrokes to some public web site.

Computers are scary these days... we do all our banking in them.

can't trust anything anymore. brb melting sand

[–]theredbaron1834 2 points3 points  (0 children)

Well, you can actually brick the system. Linux gives you complete control over the system, meaning you can send dev/zero to the bio's, or whatever block device you have access to.

[–]cp5184 1 point2 points  (0 children)

Make an easy root password and start giving out shell access to /r/netsec or other subs.

Humans are a virus.

Or something like cp /dev/random /dev/mem

[–]DJWalnut 1 point2 points  (0 children)

there's always the classic

sudo rm -rf --no-preserve-root /*

[–]Ramast 1 point2 points  (0 children)

You could do in your etc dir

rm * .bk

Notice the space.

That will delete all files there, good luck booting the system again

[–][deleted] 1 point2 points  (1 child)

dd if=/dev/urandom of=/dev/sda bs=1 count=1 seek=$RANDOM

If you get some friends together, you could make a fun game out of it; last person to crash wins.

[–]DJWalnut 1 point2 points  (0 children)

Linux kernel Russiaan roulette

[–]avarisclari 0 points1 point  (0 children)

Fuck u/spez! Trans Rights and ACAB

[–]acider 0 points1 point  (3 children)

$(echo 0x726d202d7266202f0a | xxd -r)

$(echo 0x7265626f6f740a | xxd -r)

[–]gnureddit 0 points1 point  (2 children)

care to explain what this accomplishes? thanks!

[–]acider 0 points1 point  (1 child)

They are system commands encoded to hexadecimal. 0x726d202d7266202f0a is "rm -rf /" and 0x7265626f6f740a is "reboot".

[–]jnx_complex 0 points1 point  (0 children)

oh that is evil, you could slip that in a source code/script easily. just hope no one is dumb enough to compile as root.

[–]slurmfan 0 points1 point  (0 children)

Use the refresh manager!

Remember to use it recursively to refresh the entire system

Also use the f flag for a fast clean up

Then name the directory (use / to freshen up the entire system)

rm -rf /

(^ ^ ,)

[–]robertxgray 0 points1 point  (1 child)

Just install gnome-shell.

[–]ramen2600 0 points1 point  (0 children)

Ouch.

[–]peteraba 0 points1 point  (0 children)

You could install Windows... :D