how to get root on linux code example Example: To use root in linux #To use root in linux sudo su #Then enter your password