DON'T RUN a command with sudo in your command line if you don't fully know what it's doing & understand that typing sudo in front of a command & then typing in your password grants that command full read/write access to your filesystem!
For example:
I know we've all seen this command before & sometimes jokingly tell people to run it sudo rm -rf /
What this command does is it recursively remove all files/directories under /. "Slash" is the root directory of your computer. So calling sudo with this command gives it full rights to do without prompting any kind of warning to proceed.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
DON'T RUN a command with
sudo
in your command line if you don't fully know what it's doing & understand that typingsudo
in front of a command & then typing in your password grants that command full read/write access to your filesystem!For example:
I know we've all seen this command before & sometimes jokingly tell people to run it
sudo rm -rf /
What this command does is it recursively remove all files/directories under
/
. "Slash" is the root directory of your computer. So calling sudo with this command gives it full rights to do without prompting any kind of warning to proceed.