+% 3. Basic commands: echo, cat, cp, date, df, du, file, file, help,
+% history(!!, !a), kill, ln, ls, man, mkdir, mv, pwd, rm, sudo, which, >>, >
+% 1. Syntax, quoting, manpage, unix philosophy, ampersand/fork.
% een frame moet fragile als het listings bevat
\begin{frame}[fragile]
+ \frametitle{Syntax}
+ \begin{enumerate}
+ \item Long option
+ \item Short options
+ \item Arguments
+ \item ...
+ \end{enumerate}
\begin{lstlisting}[style=bashregel]
-$ cd ..
+ls -a -l -h --color=auto /home/frobnicator/directory
+ \end{lstlisting}
+ \begin{lstlisting}[style=bashregel]
+ls --all -lh
+ \end{lstlisting}
+\end{frame}
+
+\begin{frame}[fragile]
+ \frametitle{Speciale karakters}
+ \begin{lstlisting}[style=bashregel]
+mkdir /home/frobnicator/map
+ \end{lstlisting}
+ \begin{lstlisting}[style=bashregel]
+mkdir "/home/frobnicator/mooie map"
+mkdir /home/frobnicator/mooie\ map
+mkdir '/home/frobnicator/mooie map'
+ \end{lstlisting}
+ \begin{lstlisting}[style=bashregel]
+mkdir /home/frobnicator/mooiste\ map\ '!'
+mkdir '/home/frobnicator/mooiste map!'
+ \end{lstlisting}
+\end{frame}
+
+\begin{frame}[fragile]
+ \frametitle{Radeloos? Manpage}
+ \begin{lstlisting}[style=bashregel]
+LS(1) User Commands LS(1)
+
+NAME
+ ls - list directory contents
+
+SYNOPSIS
+ ls [OPTION]... [FILE]...
+
+DESCRIPTION
+ List information about the FILEs (the current directory by default). Sort entries alphabeti-
+ cally if none of -cftuvSUX nor --sort is specified.
+
+ Mandatory arguments to long options are mandatory for short options too.
+
+ -a, --all
+ do not ignore entries starting with .
+
+ -A, --almost-all
+ do not list implied . and ..
+
+ --author
+ with -l, print the author of each file
+
+ -b, --escape
+ print C-style escapes for nongraphic characters
\end{lstlisting}
\end{frame}