diff --git a/linux-cheat-sheet.tex b/linux-cheat-sheet.tex index 58e0d97..f244c42 100644 --- a/linux-cheat-sheet.tex +++ b/linux-cheat-sheet.tex @@ -8,6 +8,10 @@ \usepackage{lmodern} +\usepackage{titlesec} +\titleformat{\section}[display] + {\large\scshape}{\thesection}{}{\hrule\vspace{3pt}}{} + \usepackage{enumitem} \setlist[description]{ style=nextline, @@ -51,12 +55,9 @@ \begin{document} -\section*{A Linux Cheat Sheet} - - \begin{multicols*}{4} -\subsection*{Directory} +\section*{Directory} \begin{description} \item[cd] Change the current directory @@ -69,7 +70,7 @@ \item[rsyng -a ] Synchronize the contents of a specific direcotry with a backup directory \end{description} -\subsection*{Disk Usage} +\section*{Disk Usage} \begin{description} \item[df] Get a report on the system's disk space usage @@ -80,7 +81,7 @@ \item[findmnt] Show target mount point for all filesystems \end{description} -\subsection*{File} +\section*{File} \begin{description} \item[ls] List files in a directory @@ -89,25 +90,25 @@ \item[ls -l] List detailed information in a tabular format \end{description} -\subsection*{System} +\section*{System} \begin{description} \item[] \end{description} -\subsection*{Network} +\section*{Network} \begin{description} \item[] \end{description} -\subsection*{User} +\section*{User} \begin{description} \item[] \end{description} -\subsection*{Keyboard Shortcuts} +\section*{Keyboard Shortcuts} \begin{description} \item[\keystroke{ctrl} + \keystroke{e}]Move to the end of the line