accessing root in linux code example Example: To use root in linux #To use root in linux sudo su #Then enter your password