"How to prevent possible damage"
Alias - prepend the command with a \
Presuming alias ls='ls --color=auto' ls will show directories in colour \ls will not.
alias ls='ls --color=auto'
ls
\ls
Recursion - don't be root. Have user accounts limited in what resources they can use (CPU, disk space etc.)
dd - again, don't be root. Don't be in the disk group either.
dd
disk
chmod - don't be root.
chmod
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
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.
"How to prevent possible damage"
Alias - prepend the command with a \
Presuming
alias ls='ls --color=auto'
ls
will show directories in colour\ls
will not.Recursion - don't be root. Have user accounts limited in what resources they can use (CPU, disk space etc.)
dd
- again, don't be root. Don't be in thedisk
group either.chmod
- don't be root.