Shell Script

Hi I am trying to make a shell script in the Ubuntu terminal that can read a password for the text file and shut down the computer automatically after 2 or 3 hour,
please guys help me to do this
man sudo && man shutdown 
Topic archived. No new replies allowed.