\section{Shutting Down and Rebooting}

\begin{frame}
   {Shutting Down and Rebooting}

   \begin{itemize}
      \item \textbf{shutdown}:
      \begin{itemize}
         \item Brings system down in a secure way
         \item All users notified of pending action
         \item Can be halted or rebooted
         \item Without options, the default behaviour is
         complete power off
         \begin{itemize}
            \item Some distributions, such as \textbf{Ubuntu}, go to
            single user mode instead.
         \end{itemize}
      \end{itemize}
      \item Legacy commands such as \textbf{reboot},
      \textbf{halt} and \textbf{poweroff} are still
      frequently used.
   \end{itemize}

\end{frame}

\cprotect\note{

   \textbf{shutdown} is used to bring the system down in a
   secure fashion, notifying all users that the system is
   going down and then stopping it in a graceful and
   non-destructive way. After it is shutdown the system is
   either halted or rebooted.

   Examples:

   \begin{cmd}
$ shutdown -h +1 "Power Failure imminent"
$ shutdown -h now
$ shutdown -r now
$ shutdown now
   \end{cmd}

   There are also the legacy commands \textbf{reboot},
   \textbf{halt} and \textbf{poweroff} which many veteran
   users use frequently.
   \vspace{-12pt}
   \begin{figure}[H]
      \includegraphics[width=5in]{IMAGES/shutdown}
      \caption{shutdown Command}
   \end{figure}
   \vspace{-30pt}

}



