Get details about the current SHELL echo $SHELL Get details about the default SHELL cat /etc/passwd | grep <username> Get details about CentOs Version cat /etc/system-release Give sudo access to an exisiting user usermod -aG sudo <username>