diff options
author | Jovina | 2012-08-28 14:30:40 +0530 |
---|---|---|
committer | Jovina | 2012-08-28 14:30:40 +0530 |
commit | 19598791493433c0c334d6aa9d8817735b394465 (patch) | |
tree | 2a1b6c87cdebfa5daa02d31f4c4c14041961339c /ult/ult_8/ult8.tex | |
parent | 0b3a72638f909ff58835e3435d4a5d33c4b8f54a (diff) | |
download | sdes-stscripts-19598791493433c0c334d6aa9d8817735b394465.tar.gz sdes-stscripts-19598791493433c0c334d6aa9d8817735b394465.tar.bz2 sdes-stscripts-19598791493433c0c334d6aa9d8817735b394465.zip |
Made changes based on the review.
Diffstat (limited to 'ult/ult_8/ult8.tex')
-rw-r--r-- | ult/ult_8/ult8.tex | 47 |
1 files changed, 13 insertions, 34 deletions
diff --git a/ult/ult_8/ult8.tex b/ult/ult_8/ult8.tex index a315ba1..0653e9e 100644 --- a/ult/ult_8/ult8.tex +++ b/ult/ult_8/ult8.tex @@ -62,8 +62,8 @@ \sffamily \bfseries \title -[Shell scripts \& Variables] -{Shell scripts \& Variables} +[Shell Scripts \& Variables] +{Shell Scripts \& Variables} \author [FOSSEE] {\small Talk to a Teacher\\{\color{blue}\url{http://spoken-tutorial.org}}\\\vspace{0.25cm}National Mission on Education @@ -82,9 +82,9 @@ At the end of this tutorial, you will be able to, \begin{itemize} -\item Prepare a simple shell script. -\item Run a script successfully and print it's result. -\item Understand what an environment variable is. +\item Prepare a simple shell script +\item Run a script successfully and print it's result +\item Understand what an environment variable is \end{itemize} \end{frame} @@ -105,12 +105,9 @@ Spoken tutorial on, \frametitle{\texttt{PATH}} \begin{itemize} \item Shell searches in a set of locations - \item Locations are saved in ``environment'' variable called PATH - \end{itemize} - \hspace{30pt}\texttt{\$ echo \$PATH} - %\hspace{26pt} \verb~$ echo $PATH~ - \begin{itemize} - \item Put results.sh in 1 of these locations + \item Locations are saved in ``environment'' variable called PATH\\ + \texttt{\$ echo \$PATH} + \item Put \texttt{results.sh} in one of these locations \item It can then be run without \texttt{./} \end{itemize} \end{frame} @@ -135,10 +132,10 @@ Spoken tutorial on, \begin{itemize} -\item Prepare a shell script. -\item Display the result of a script, using the ``echo'' command. -\item Use the environment variable ``PATH''. -\item Create variables and comment out content using the ``\#'' sign. +\item Prepare a shell script +\item Display the result of a script, using the ``echo'' command +\item Use the environment variable ``PATH'' +\item Create variables and comment out content using the ``\#'' sign \end{itemize} \end{frame} @@ -153,29 +150,11 @@ Spoken tutorial on, {\color{LimeGreen}$\bullet$} \$ \hspace{80pt}{\color{LimeGreen}$\bullet$} \% \\ {\color{LimeGreen}$\bullet$} \# \hspace{80pt}{\color{LimeGreen}$\bullet$} * \\ \vspace{8pt} -\item How will you add directory ``/data/scripts'' to the beginning of +\item How will you add ``/data/scripts'' directory to the beginning of the \$PATH environment variable ? \end{enumerate} \end{frame} -%\begin{frame}[fragile] -%\frametitle{Evaluation} -%\label{sec-9} - - -%\begin{enumerate} -%\item Which sign is used to comment out content from a shell script? -%\begin{itemize} -%\item \$ -%\item \% -%\item \# -%\item * -%\end{itemize} -%\vspace{8pt} -%\item How will you add directory ``/data/myscripts'' to the beginning of -% the \$PATH environment variable ? -%\end{enumerate} -%\end{frame} \begin{frame} \frametitle{Solutions} |