Verify the commands by looking them up in the docimentation.
So if the advice is to run
foo --bar afile
first do
man foo
or
foo --help
and check what the command does and what option --bar does.
Good documentation, i esepicially like the gentoo docs and also the arch docs for this, will specifically say run this command where these options are added to do a thing.
Don’t run anything where you don’t know what it will do based on the docukentation, so not based on the surrounding text where you are copying froom saying trust me bro.
But of course this can end up being a lot of effort and is just a long way of saing rtfm.
This type of attack is also a risk for novice linux users, who tend to paste things in the terminal they do not understand.
As a novice linux user, how can I avoid this?
I try to avoid running terminal code, but sometimes it is the only way to get things to work.
Look at a terminal command and try to understand what it does. You can do this by checking out the commands it’s made of and learning about them.
Thanks, I need to look into that further.
Verify the commands by looking them up in the docimentation. So if the advice is to run foo --bar afile first do man foo or foo --help and check what the command does and what option --bar does.
Good documentation, i esepicially like the gentoo docs and also the arch docs for this, will specifically say run this command where these options are added to do a thing.
Don’t run anything where you don’t know what it will do based on the docukentation, so not based on the surrounding text where you are copying froom saying trust me bro.
But of course this can end up being a lot of effort and is just a long way of saing rtfm.
Thanks for the summary. I need to look into this, but as a filthy casual it looks a bit daunting.
Still I love having transitioned but some aspects still feel a bit scary.
little tip:
if it contains
wgetorcurlthen it’s downloading something, check that it’s both necessary and the url isn’t suspiciousjust realized you’re a .worlder and can’t see this, but fuck it, might be useful for someone else