# Useful commands in Linux (CentOS)

In 
Published 2022-12-03

# Add a user to the Sudo Group in the Sudoers File

The easiest way to grant a user sudo rights is by adding them to the wheel group:

as root:
usermod -aG wheel username

# Find all the text files in the current directory which contain "helloo"

find ./ -name "*.txt"  -exec grep -H 'helloo' {} \;