Added disk usage and file commands; updated layout
This commit is contained in:
parent
d59ec45b83
commit
9e44cc4ac4
@ -1,6 +1,9 @@
|
||||
\documentclass[letter, landscape]{article}
|
||||
\documentclass[8pt, letter, landscape]{extarticle}
|
||||
\usepackage{extsizes}
|
||||
\usepackage[
|
||||
margin=0.5in
|
||||
margin=0.5in,
|
||||
top=2cm,
|
||||
bottom=2cm
|
||||
]{geometry}
|
||||
|
||||
\usepackage{lmodern}
|
||||
@ -8,9 +11,18 @@
|
||||
\usepackage{enumitem}
|
||||
\setlist[description]{
|
||||
style=nextline,
|
||||
font={\bfseries\ttfamily}
|
||||
font={\bfseries\ttfamily},
|
||||
itemsep=0pt,
|
||||
parsep=0pt
|
||||
}
|
||||
|
||||
\usepackage{fancyhdr}
|
||||
\pagestyle{fancy}
|
||||
\fancyhf{}
|
||||
\fancyhead[L]{\textbf{A Linux Cheat Sheet}}
|
||||
\fancyhead[R]{\texttt{https://git.kjodle.net/kjodle/linux-cheat-sheet}}
|
||||
\fancyfoot[R]{Page \thepage}
|
||||
|
||||
\usepackage{multicol}
|
||||
\setlength{\columnseprule}{1pt}
|
||||
\setlength{\columnsep}{1cm}
|
||||
@ -42,7 +54,7 @@
|
||||
\section*{A Linux Cheat Sheet}
|
||||
|
||||
|
||||
\begin{multicols*}{3}
|
||||
\begin{multicols*}{4}
|
||||
|
||||
\subsection*{Directory}
|
||||
|
||||
@ -59,14 +71,42 @@
|
||||
|
||||
\subsection*{Disk Usage}
|
||||
|
||||
\begin{description}
|
||||
\item[df] Get a report on the system's disk space usage
|
||||
\item[du] Check the disk space usage of a file or directory
|
||||
\item[du -ah] Show disk usage for all files and directories in human readable sizes
|
||||
\item[du -sh] Show disk usage of the current directory
|
||||
\item[fdisk -l] Show disk partitions, sizes, and types
|
||||
\item[findmnt] Show target mount point for all filesystems
|
||||
\end{description}
|
||||
|
||||
\subsection*{File}
|
||||
|
||||
\begin{description}
|
||||
\item[ls] List files in a directory
|
||||
\item[ls -R] List all files in all subdirectories
|
||||
\item[ls -a] List hidden files
|
||||
\item[ls -l] List detailed information in a tabular format
|
||||
\end{description}
|
||||
|
||||
\subsection*{System}
|
||||
|
||||
\begin{description}
|
||||
\item[]
|
||||
\end{description}
|
||||
|
||||
\subsection*{Network}
|
||||
|
||||
\begin{description}
|
||||
\item[]
|
||||
\end{description}
|
||||
|
||||
\subsection*{User}
|
||||
|
||||
\begin{description}
|
||||
\item[]
|
||||
\end{description}
|
||||
|
||||
\subsection*{Keyboard Shortcuts}
|
||||
|
||||
\begin{description}
|
||||
|
Loading…
Reference in New Issue
Block a user