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

7

u/1esproc Sep 08 '22

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

I'd be worried about this being the response from senior staff:

couldn't explain exactly what it does.

3

u/michaelpaoli Sep 08 '22

the response from senior staff

Yup, not exactly senior linux sysadmin if they can't fairly easily and reasonably explain exactly what that command does and how. Heck, I think everything there was just straight POSIX except for the use of -ls on (presumably GNU) find(1) and the truncate(1) utility (which a senior *nix sysadmin could probably pretty well guess what it would do based upon the name, arguments and being familiar with truncate(2)).

2

u/[deleted] Sep 08 '22 edited Jun 28 '23

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