Final corrections to version 1.0.0
This commit is contained in:
parent
d7ddddee40
commit
bedd724386
@ -8,6 +8,7 @@
|
||||
|
||||
\usepackage{lmodern}
|
||||
|
||||
|
||||
\usepackage[os=win]{menukeys}
|
||||
% Using this, but see other solution below
|
||||
% This option works better with small font sizes
|
||||
@ -37,9 +38,16 @@
|
||||
\fancyhead[R]{\texttt{https://git.kjodle.net/kjodle/linux-cheat-sheet}}
|
||||
\fancyfoot[L]{Version 1.0.0 • \today}
|
||||
\fancyfoot[R]{Page \thepage}
|
||||
\renewcommand{\footrulewidth}{0.4pt}
|
||||
|
||||
% Redefining headrule
|
||||
% See https://tex.stackexchange.com/a/584638/245702
|
||||
\makeatletter
|
||||
\renewcommand{\headrule}{\hrule height 1pt \vspace{1pt}\hrule height 0.25pt}
|
||||
|
||||
|
||||
\usepackage{multicol}
|
||||
\setlength{\columnseprule}{1pt}
|
||||
\setlength{\columnseprule}{0.3pt}
|
||||
\setlength{\columnsep}{1cm}
|
||||
|
||||
\usepackage[T1]{fontenc}
|
||||
@ -47,6 +55,7 @@
|
||||
\usepackage{tikz}
|
||||
\usetikzlibrary{shadows}
|
||||
|
||||
% Not currently used; using «menukeys» package instead
|
||||
% See https://tex.stackexchange.com/questions/5226/keyboard-font-for-latex
|
||||
\newcommand*\keystroke[1]{%
|
||||
\tikz[baseline=(key.base)]
|
||||
@ -64,6 +73,8 @@
|
||||
;
|
||||
}
|
||||
|
||||
% See https://semver.org/ for versioning meaning
|
||||
|
||||
\begin{document}
|
||||
|
||||
\begin{multicols*}{4}
|
||||
@ -122,7 +133,7 @@ As always, check the \texttt{man} files for additional options and parameters.
|
||||
\item[scp <file> <server/file>] Securely copy a specific file to a server directory
|
||||
\item[mkdir] Create a new directory
|
||||
\item[rmdir] Delete an empty directory
|
||||
\item[rsyng -a </path/to/file> </file>] Synchronize the contents of a specific direcotry with a backup directory
|
||||
\item[rsync -a </path/to/file> </file>] Synchronize the contents of a specific direcotry with a backup directory
|
||||
\item[rm -r <directory>] Remove a non-empty directory
|
||||
\item[rm -ri <directory>] Remove a non-empty directory recursively, and require confirmation of each item
|
||||
\end{description}
|
||||
@ -156,13 +167,15 @@ As always, check the \texttt{man} files for additional options and parameters.
|
||||
\item[uname -r] Show system information
|
||||
\item[timedatectl] Query and change the system clock
|
||||
\item[last reboot] Show the system reboot history
|
||||
\item[uptime] SHow how long the system has been running, including load average
|
||||
\item[uptime] Show how long the system has been running, including load average
|
||||
\item[echo \$<variable>] Show the value of a variable
|
||||
\item[echo \$PATH] Show the current value of the \texttt{\$PATH} variable
|
||||
\end{description}
|
||||
|
||||
\section*{Network}
|
||||
|
||||
\textbf{Note:} Many of these are not installed by default on most systems.
|
||||
|
||||
\begin{description}
|
||||
\item[hostname] Display the name of your host or network
|
||||
\item[ip addr show] Show IP addresses and network interfaces
|
||||
|
Loading…
Reference in New Issue
Block a user