Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • gduarte/courses
  • mgrueninger/courses
  • thealternative/courses
3 results
Show changes
Showing
with 207 additions and 0 deletions
File added
source diff could not be displayed: it is stored in LFS. Options to address this: view the blob.
File added
File added
archive/ctk_archive/console_toolkit/source/slides/img/ranger.png

131 B

archive/ctk_archive/console_toolkit/source/slides/img/ranger1.png

130 B

archive/ctk_archive/console_toolkit/source/slides/img/ssh.png

130 B

archive/ctk_archive/console_toolkit/source/slides/img/tux.png

131 B

This diff is collapsed.
\documentclass[aspectratio=169]{beamer}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{listings}
\usepackage{xcolor}
\usepackage{hyperref}
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage{tikz}
\usepackage{tcolorbox}
\usepackage{menukeys}
\usepackage{pdfpages}
\tcbuselibrary{listings}
\usefonttheme[onlymath]{serif}
\usecolortheme[RGB={37,68,113}]{structure}
\usetheme{Dresden}
\setbeamertemplate{headline}{}
% generic colors
\definecolor{dirblue}{HTML}{9bc1ff}
% TheAlternative colors
\definecolor{ldorange}{HTML}{F18A20}
\definecolor{ldblue}{HTML}{254471}
%Apply TheAlt colors to theme
\setbeamercolor{section in head/foot}{fg=ldorange}
\setbeamercolor{author in head/foot}{fg=white}
\setbeamercolor{subsection in head/foot}{fg=white}
\setbeamercolor{caption name}{fg=vlg}
\setbeamercolor{caption}{fg=vlg}
\setbeamercolor{frametitle}{fg=ldblue}
\setbeamercolor{title}{fg=ldorange}
\setbeamercolor{institute}{fg=ldblue}
\setbeamertemplate{itemize item}[circle]
\setbeamercolor{itemize item}{fg=ldorange}
% make including pdfs work
\setbeamercolor{background canvas}{bg=}
\setbeamerfont{title}{series=\bfseries}
\setbeamertemplate{caption}{\raggedright\insertcaption\par}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{bibliography item}[text]
% white-on-black lstlisting env with rounded corners
\newenvironment{bashenv}[1][\small]{%
\tcblisting{listing only,colback=black,colframe=black,
enlarge top by=0mm,left=-0mm,top=-2mm,bottom=-2mm,
listing options={language=bash,
escapechar=§,
basicstyle=#1\color{white}\ttfamily,
commentstyle=#1\color{white}\ttfamily,
backgroundcolor=\color{black},
breaklines=true,
keepspaces=true,
showstringspaces=false,
columns=fullflexible}}}
{\endtcblisting}
% mark a spot for e.g. drawing an arrow to it
\newcommand\tikzmark[1]{\tikz[remember picture,overlay]\node[inner xsep=0pt](#1){};}
% \newcommand\Warning{%
% \makebox[1.4em][c]{\raisebox{-0.45em}{%
% \makebox[0pt][c]{\raisebox{0.25em}{\large!}}%
% \makebox[0pt][c]{\color{red}\Huge$\bigtriangleup$}}}%
% \hspace{0.7em}%
% }
% a red warning box
\definecolor{lred}{HTML}{ffd6dd}
\newtcolorbox{WarningBox}{%
colframe=red,
colback=lred}
# The Console Toolkit
This repository contains slides and exercise material for the Linux console course held in autumn semester 2018.
# Course Description
Now that you have your Linux system up and running, it's time to make the best
out of it. Learn how to utilize the console and work towards mastering it in
this two-part course. We will start with the basics, and present you some
useful terminal applications designed to simplify your workflow. Furthermore,
you may directly solidify the abilities you learn by solving short exercises.
This way, you will feel comfortable with using the console in no time!
# Course Contents
The following is just a brainstormy list based on content of past courses that TheAlternative held. This course aims to cover most of this list. The list only serves as a guideline, the speaker can of course decide to go further in-depth (e.g. with more live demos) or leave out certain topics.
- why console
- course goals
- opening console
- commands & arguments
- arguments with spaces
- options
- manual
- cmd history (arrows, search)
- globs, wildcards
- ctrl-c
- file system navigation
- cd
- pwd
- .. (the directory location)
- tab completion
- ls
- fs layout (man hier)
- text editing
- less
- cat
- cp
- mv rm
- mkdir, rmdir
- search path
- users: sudo, su
- software installation
- creating boot sticks (dd, sync)
- disk space
- scripting
- ssh
r51.ebef4b9
\ No newline at end of file
TEX=latexmk
TEXOPTS=-output-directory=build \
-pdf \
-latexoption=-interaction=nonstopmode \
-latexoption=-file-line-error
# Set PREVIEW=1 to enable preview. Make sure an appropriate viewer is
# configured in $HOME/.latexmkrc.
# Example usage: make PREVIEW=1 opendata
ifdef PREVIEW
PREVIEWOPTS=-pvc
endif
defaul: exercises
# To include the current git revision in the header, write it to 'GIT_TAG'
# file, which the LaTeX source can include.
gitrev:
@printf "r%s.%s" "$$(git rev-list --count HEAD)" "$$(git rev-parse --short HEAD)" > GIT_TAG
# Create build directory if it doesnt exist
builddir:
@[ -d build ] || mkdir build
# All documents need to be compiled twice.
# This is because some necessary information is only available after
# the first compiler run, like \pageref{LastPage}.
exercises: exercises.tex gitrev builddir
@$(TEX) $(TEXOPTS) $(PREVIEWOPTS) $<
mv build/exercises.pdf .
clean:
@rm -rf build/*
File added
source diff could not be displayed: it is stored in LFS. Options to address this: view the blob.
source diff could not be displayed: it is stored in LFS. Options to address this: view the blob.