shell script shutdown time code example Example: write a script to shutdown at a time in linux shutdown -h 21:45