Alles klaar, nog niet netjes helaas develop
authorMart Lubbers <mart@martlubbers.net>
Tue, 9 Sep 2014 13:09:35 +0000 (15:09 +0200)
committerMart Lubbers <mart@martlubbers.net>
Tue, 9 Sep 2014 13:09:35 +0000 (15:09 +0200)
part1/1syntax.tex [moved from part1/syntax.tex with 95% similarity]
part1/2exit.tex [moved from part1/exit.tex with 78% similarity]
part1/3basis.tex [new file with mode: 0644]
part1/4stream.tex [new file with mode: 0644]
part1/5script.tex [new file with mode: 0644]
part1/basis.tex [deleted file]
part1/part1.tex
part1/script.tex [deleted file]
part1/stream.tex [deleted file]

similarity index 95%
rename from part1/syntax.tex
rename to part1/1syntax.tex
index d73537d..529a11b 100644 (file)
@@ -86,7 +86,11 @@ DESCRIPTION
 \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}
similarity index 78%
rename from part1/exit.tex
rename to part1/2exit.tex
index 631c801..4dff013 100644 (file)
 \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}
diff --git a/part1/3basis.tex b/part1/3basis.tex
new file mode 100644 (file)
index 0000000..47a006a
--- /dev/null
@@ -0,0 +1,30 @@
+% 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}
diff --git a/part1/4stream.tex b/part1/4stream.tex
new file mode 100644 (file)
index 0000000..c40ac42
--- /dev/null
@@ -0,0 +1,9 @@
+\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}
diff --git a/part1/5script.tex b/part1/5script.tex
new file mode 100644 (file)
index 0000000..b4b3d86
--- /dev/null
@@ -0,0 +1,67 @@
+% 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}
diff --git a/part1/basis.tex b/part1/basis.tex
deleted file mode 100644 (file)
index e7062fc..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-% 3. Basic commands: echo, cat, cp, date, df, du, file, file, help,
-%    history(!!, !a), kill, ln, ls, man, mkdir, mv, pwd, rm, sudo, which, >>, >
index 992b981..8948d7b 100644 (file)
@@ -1,4 +1,4 @@
-\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}
diff --git a/part1/script.tex b/part1/script.tex
deleted file mode 100644 (file)
index 8959a0b..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-\begin{frame}[fragile]
-       \begin{lstlisting}[style=bashscript]
-foo() {
-       echo "bar"
-}
-
-barbaz=$(foo | sed 's/r/z/g')
-       \end{lstlisting}
-\end{frame}
diff --git a/part1/stream.tex b/part1/stream.tex
deleted file mode 100644 (file)
index e69de29..0000000