Add lenas slides

This commit is contained in:
Valentin Brandl 2022-10-21 15:20:33 +02:00
parent 4cc64218cd
commit f13b2fb4be
3 changed files with 99 additions and 52 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 424 KiB

View File

@ -51,4 +51,14 @@ year={2007}
urldate = {2022-09-28}, urldate = {2022-09-28},
} }
@misc{directoryStructure,
title = {Classic SysAdmin: The Linux Filesystem Explained},
Institution = {The Linux Foundation},
Howpublished = {\url{https://www.linuxfoundation.org/blog/blog/classic-sysadmin-the-linux-filesystem-explained}},
year = {2022},
month = {feb},
url = {https://www.linuxfoundation.org/blog/blog/classic-sysadmin-the-linux-filesystem-explained},
urldate = {2022-10-21},
}
/* vim: set filetype=bib ts=2 sw=2 tw=0 et :*/ /* vim: set filetype=bib ts=2 sw=2 tw=0 et :*/

View File

@ -39,7 +39,7 @@
\graphicspath{{assets/linux_intro/}} \graphicspath{{assets/linux_intro/}}
\useDepartmentLogo \useDepartmentLogo{}
\AtBeginSection[] \AtBeginSection[]
{% {%
@ -49,14 +49,15 @@
currentsection, currentsection,
hideothersubsections, hideothersubsections,
sectionstyle=show/hide, sectionstyle=show/hide,
subsectionstyle=show/shaded/hide, subsectionstyle=show/hide/hide,
] ]
\end{frame} \end{frame}
\addtocounter{framenumber}{-1}% If you don't want them to affect the slide number \addtocounter{framenumber}{-1}% If you don't want them to affect the slide number
} }
\begin{document} \begin{document}
\newcommand{\genemail}[1]{\href{mailto:#1}{\textless\nolinkurl{#1}\textgreater}} \newcommand{\genemail}[1]{\href{mailto:#1}{\textless\nolinkurl{#1}\textgreater}}%
\title{Linux Einführung} \title{Linux Einführung}
\author{Magdalena Reif \inst{1} \and Valentin Brandl \inst{2}} \author{Magdalena Reif \inst{1} \and Valentin Brandl \inst{2}}
@ -65,28 +66,6 @@
\date{\today} \date{\today}
% Angepasstes Titelformat definieren (verwendet bewusst nicht die
% Beamer-Infrastruktur, um einfache Anpassungen zu zeigen)
% \newcommand{\fillme}{\vskip0pt plus 1filll}
% \newenvironment{references}{\begin{tiny}\begin{flushleft}}%
% {\end{flushleft}\end{tiny}\vspace*{\fill}}
% \defbeamertemplate*{title page}{customized}[1][]
% {
% \vspace*{1em}\usebeamerfont{title}\textbf{\inserttitle}\bigskip\par
% \begin{scriptsize}
% \insertauthor\bigskip\par
% \textit{\insertinstitute}\\\insertdate
% \end{scriptsize}
% % \fillme\begin{references}
% % \(^{1}\){\color{gray}{GPG/PGP-ID \href{http://pgp.mit.edu/pks/lookup?op=vindex&search=0xD22BCBB9E835336F}{E835336F},
% % Fingerprint: A62E FFFC 4029 7339 357B D04D D22B CBB9 E835 336F.}}\\
% % \(^{2}\){\color{gray}{GPG/PGP-ID \href{http://keys.gnupg.net/pks/lookup?op=get&search=0xF16F252398356E1E}{98356E1E},
% % Fingerprint: 5920 9407 AB5C 8B28 3C7B 4F02 F16F 2523 9835 6E1E.}}
% % \end{references}
% }
\maketitle \maketitle
\frame{% \frame{%
@ -97,15 +76,75 @@
] ]
} }
\section{Linux}
\begin{frame}
\frametitle{Ganz kurze Geschichte}
\begin{itemize}
\item ab 1991 von dem Finnen Linux Torvalds entwickelt
\item organisiert Kernelentwicklung bis heute
\item UNIX-ähnliches, POSIX-kompatibles OS
\end{itemize}
\end{frame}
\section{Filesystem}
\begin{frame}
\begin{figure}
\centering
\includegraphics[width=.85\textwidth]{dirstruct.png}
\caption{Verzeichnisstruktur~\cite{directoryStructure}}
\end{figure}
\end{frame}
\section{Navigation im Terminal}
\begin{frame}
\frametitle{whoami? whereami? whenami?}
\begin{itemize}
\item \mintinline{bash}{whoami}
\item \mintinline{bash}{pwd} (print working directory)
\item \mintinline{bash}{history}
\item \mintinline{bash}{date}
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{looking around}
\begin{itemize}
\item \mintinline{bash}{tree}
\item \mintinline{bash}{ls} (list)
\item \mintinline{bash}{ls -a -l}
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{Change directories}
\begin{itemize}
\item \mintinline{bash}{cd} \mintinline{bash}{cd ..} \mintinline{bash}{cd ../../..}
\item absolute path
\item relative path
\end{itemize}
\end{frame}
\section{Inhalt bearbeiten}
\begin{frame}
\begin{itemize}
\item \mintinline{bash}{touch}
\item \mintinline{bash}{nano}, \mintinline{bash}{vim} und \mintinline{bash}{emacs}
\item \mintinline{bash}{mkdir}
\item \mintinline{bash}{rm}
\item \mintinline{bash}{chmod}
\item \mintinline{bash}{file}
\end{itemize}
\end{frame}
\section{Unix Stuff} \section{Unix Stuff}
\begin{frame} \begin{frame}
\frametitle{Aktueller Benutzer - \emph{id}} \frametitle{Aktueller Benutzer --- \emph{id}}
\includegraphics[width=\textwidth]{id.png} \includegraphics[width=\textwidth]{id.png}
\end{frame} \end{frame}
\begin{frame} \begin{frame}
\frametitle{Aktuell aktive Benutzer - \emph{w}} \frametitle{Aktuell aktive Benutzer --- \emph{w}}
\includegraphics[width=\textwidth]{w.png} \includegraphics[width=\textwidth]{w.png}
\end{frame} \end{frame}
@ -125,17 +164,17 @@
\end{frame} \end{frame}
\begin{frame} \begin{frame}
\frametitle{Dateiinhalt einsehen - \emph{cat}} \frametitle{Dateiinhalt einsehen --- \emph{cat}}
\includegraphics[width=.7\textwidth]{cat.png} \includegraphics[width=.7\textwidth]{cat.png}
\end{frame} \end{frame}
\begin{frame} \begin{frame}
\frametitle{Dateiinhalt einsehen - \emph{xxd}} \frametitle{Dateiinhalt einsehen --- \emph{xxd}}
\includegraphics[width=\textwidth]{xxd.png} \includegraphics[width=\textwidth]{xxd.png}
\end{frame} \end{frame}
\begin{frame} \begin{frame}
\frametitle{In Dateien Suchen: \emph{grep}} \frametitle{In Dateien Suchen --- \emph{grep}}
\begin{itemize} \begin{itemize}
\item \mintinline{bash}{grep regex datainame} \item \mintinline{bash}{grep regex datainame}
\item \mintinline{bash}{grep --ignore-case regex datainame} \item \mintinline{bash}{grep --ignore-case regex datainame}
@ -144,7 +183,7 @@
\end{frame} \end{frame}
\begin{frame} \begin{frame}
\frametitle{In Dateien Suchen: \emph{grep}} \frametitle{In Dateien Suchen --- \emph{grep}}
\centering \centering
\begin{tabular}{@{}c@{}} \begin{tabular}{@{}c@{}}
\begin{tabular}{c} \begin{tabular}{c}
@ -153,9 +192,7 @@
\begin{tabular}{c} \begin{tabular}{c}
\includegraphics[width=.5\linewidth]{grep01.png} \\ %\small (b) \includegraphics[width=.5\linewidth]{grep01.png} \\ %\small (b)
\end{tabular} \\ \end{tabular} \\
% Some main caption for the above figures.
\end{tabular} \end{tabular}
\end{frame} \end{frame}
\begin{frame} \begin{frame}
@ -179,7 +216,7 @@
\begin{frame} \begin{frame}
\frametitle{Strings in Binärdateien finden - \emph{strings}} \frametitle{Strings in Binärdateien finden --- \emph{strings}}
\includegraphics[width=\textwidth]{strings.png} \includegraphics[width=\textwidth]{strings.png}
\end{frame} \end{frame}
@ -188,22 +225,22 @@
\section{Networking} \section{Networking}
\begin{frame} \begin{frame}
\frametitle{Dateien Herunterladen - \emph{wget}} \frametitle{Dateien Herunterladen --- \emph{wget}}
\includegraphics[width=\textwidth]{wget.png} \includegraphics[width=\textwidth]{wget.png}
\end{frame} \end{frame}
\begin{frame} \begin{frame}
\frametitle{Dateien Herunterladen - \emph{curl}} \frametitle{Dateien Herunterladen --- \emph{curl}}
\includegraphics[width=\textwidth]{curl.png} \includegraphics[width=\textwidth]{curl.png}
\end{frame} \end{frame}
\begin{frame} \begin{frame}
\frametitle{Portscan - \emph{nmap}} \frametitle{Portscan --- \emph{nmap}}
\includegraphics[width=\textwidth]{nmap.png} \includegraphics[width=\textwidth]{nmap.png}
\end{frame} \end{frame}
\begin{frame} \begin{frame}
\frametitle{DNS Lookups - \emph{dig}} \frametitle{DNS Lookups --- \emph{dig}}
\includegraphics[width=.9\textwidth]{dig.png} \includegraphics[width=.9\textwidth]{dig.png}
\end{frame} \end{frame}