\subsection{Forken}
\begin{frame}
\frametitle{Forken}
- \begin{block}
- Achtergrond
- \end{block}
+ Achtergrond
+ \begin{enumerate}
+ \item Crtl-z
+ \item fg
+ \item bg
+ \item jobs
+ \end{enumerate}
\end{frame}
\end{frame}
\subsection{Introductie variabelen, speciale variabelen}
-\begin{frame}
+\begin{frame}[fragile]
\frametitle{Speciale variabelen}
\begin{block}{Intro variabelen}
-
+ \begin{lstlisting}[style=bashregel]
+ NAAM=frob
+ NAAM="frob nicator"
+ echo $frob
+ echo ${frob}
+ echo "$frob"
+ \end{lstlisting}
\end{block}
\begin{block}{Speciale variabelen}
+ \begin{lstlisting}[style=bashregel]
+ $?
+ $!
+ $@
+ $1
+ $2
+ ...
+ \end{lstlisting}
\end{block}
\end{frame}
--- /dev/null
+% 3. Basic commands: echo, cat, cp, date, df, du, file, file, help,
+% history(!!, !a), kill, ln, ls, man, mkdir, mv, pwd, rm, sudo, which, >>, >
+
+\subsection{Basis commando's}
+\begin{frame}
+ \frametitle{Print en navigeer commando's}
+ \begin{enumerate}
+ \item echo, cat
+ \item cd, ls
+ \item pwd
+ \end{enumerate}
+\end{frame}
+
+\begin{frame}
+ \frametitle{Bestands en map operaties}
+ \begin{enumerate}
+ \item cp, mv, rm, ln
+ \item mkdir rmdir
+ \end{enumerate}
+\end{frame}
+
+\begin{frame}
+ \frametitle{Geavanceerdere operaties}
+ \begin{enumerate}
+ \item kill, sudo, which
+ \item date, df, du, file
+ \item man, help
+ \item history, !!, !frobby
+ \end{enumerate}
+\end{frame}
--- /dev/null
+\begin{frame}
+ \frametitle{Volgens de filosofie}
+ \begin{enumerate}
+ \item grep
+ \item paste, column, cut, head, tail
+ \item rev, shuf, sort, tail, tr
+ \item uniq wc
+ \end{enumerate}
+\end{frame}
--- /dev/null
+% dirname for while case if read shebang function variabelen test
+\begin{frame}[fragile]
+ \frametitle{Combineren}
+ Verticale streep $|$\\
+ \begin{lstlisting}[style=bashregel]
+ history | grep "froobz"
+ \end{lstlisting}
+ \begin{lstlisting}[style=bashregel]
+ naam=\$(echo "aoue Mijn naam is: \$(whoami)" | cut -c 6-)
+ \end{lstlisting}
+\end{frame}
+
+\begin{frame}
+ \frametitle{Omgeving}
+ Bevat alle variabelen
+ \begin{enumerate}
+ \item \$(HOME)
+ \item \$(MAIL)
+ \item \$(PWD)
+ \item ...
+ \item env
+ \end{enumerate}
+\end{frame}
+
+\begin{frame}
+ \frametitle{Hulpmiddelen}
+ \begin{enumerate}
+ \item dirname, basename
+ \item function
+ \item test
+ \item read
+ \end{enumerate}
+\end{frame}
+
+\begin{frame}
+ \frametitle{Structuur constructies}
+ \begin{enumerate}
+ \item for, done
+ \item while, done
+ \item case, esac
+ \item if, then, else, fi
+ \end{enumerate}
+\end{frame}
+
+\begin{frame}
+ \frametitle{Contest}
+ \begin{center}
+ \textit{Give a man a fish and he'll eat for a day, teach him how to fish
+ and he'll never be hungry again}
+ \end{center}
+\end{frame}
+
+\begin{frame}
+ \frametitle{Status lijn programma}
+ Handige command line programma's:\\
+ \begin{enumerate}
+ \item{Temperatuur} sensors
+ \item{Batterij status} acpi
+ \item{Harde schijf} df
+ \item{Netwerk status} ifconfig
+ \item{Datum/tijd} date
+ \item{Volume} amixer
+ \item{Muziek?} mpc?, dbus?
+ \item{Email?} mutt?, thunderbird?, procmail?
+ \item{Configurate file} cat, grep
+ \end{enumerate}
+\end{frame}
+++ /dev/null
-% 3. Basic commands: echo, cat, cp, date, df, du, file, file, help,
-% history(!!, !a), kill, ln, ls, man, mkdir, mv, pwd, rm, sudo, which, >>, >
-\documentclass{beamer}
+\documentclass[handout]{beamer}
% Voor afbeeldingen, zet ze in ./img en dan kan je ze laden met filename
\usepackage{graphicx}
\end{frame}
\section{Syntax}
-\input{syntax.tex}
+\input{1syntax.tex}
\section{Exit codes}
-\input{exit.tex}
+\input{2exit.tex}
\section{Basis commando's}
-\input{basis.tex}
+\input{3basis.tex}
\section{Pipes en streams}
-\input{stream.tex}
+\input{4stream.tex}
-\section{Scripten}
-\input{script.tex}
+\section{Combineren en scripten}
+\input{5script.tex}
\end{document}
+++ /dev/null
-\begin{frame}[fragile]
- \begin{lstlisting}[style=bashscript]
-foo() {
- echo "bar"
-}
-
-barbaz=$(foo | sed 's/r/z/g')
- \end{lstlisting}
-\end{frame}