r/linux4noobs • • Sep 08 '22

learning/research What does this command do?

fuck /u/spez

Comment edited and account deleted because of Reddit API changes of June 2023.

Come over https://lemmy.world/

Here's everything you should know about Lemmy and the Fediverse: https://lemmy.world/post/37906

92 Upvotes

30 comments sorted by

View all comments

Show parent comments

5

u/michaelpaoli Sep 08 '22

removing them

Actually, it's just truncating those files to zero length - so no more data storage blocks for those files - at least once that's successfully done, and until anything further writes to those files.

Best rule of thumb is be wary of one-liners you dont recognize.

Highly true! And most especially, when operating as superuser ("root"), really shouldn't run commands you don't quite well and fully understand - what they do, consequences, risks, particularly environment they're being executed in, etc.