\documentclass[10pt,a4paper]{article} % Packages \usepackage{fancyhdr} % For header and footer \usepackage{multicol} % Allows multicols in tables \usepackage{tabularx} % Intelligent column widths \usepackage{tabulary} % Used in header and footer \usepackage{hhline} % Border under tables \usepackage{graphicx} % For images \usepackage{xcolor} % For hex colours %\usepackage[utf8x]{inputenc} % For unicode character support \usepackage[T1]{fontenc} % Without this we get weird character replacements \usepackage{colortbl} % For coloured tables \usepackage{setspace} % For line height \usepackage{lastpage} % Needed for total page number \usepackage{seqsplit} % Splits long words. %\usepackage{opensans} % Can't make this work so far. Shame. Would be lovely. \usepackage[normalem]{ulem} % For underlining links % Most of the following are not required for the majority % of cheat sheets but are needed for some symbol support. \usepackage{amsmath} % Symbols \usepackage{MnSymbol} % Symbols \usepackage{wasysym} % Symbols %\usepackage[english,german,french,spanish,italian]{babel} % Languages % Document Info \author{Sh33T} \pdfinfo{ /Title (clic.pdf) /Creator (Cheatography) /Author (Sh33T) /Subject (Clic Cheat Sheet) } % Lengths and widths \addtolength{\textwidth}{6cm} \addtolength{\textheight}{-1cm} \addtolength{\hoffset}{-3cm} \addtolength{\voffset}{-2cm} \setlength{\tabcolsep}{0.2cm} % Space between columns \setlength{\headsep}{-12pt} % Reduce space between header and content \setlength{\headheight}{85pt} % If less, LaTeX automatically increases it \renewcommand{\footrulewidth}{0pt} % Remove footer line \renewcommand{\headrulewidth}{0pt} % Remove header line \renewcommand{\seqinsert}{\ifmmode\allowbreak\else\-\fi} % Hyphens in seqsplit % This two commands together give roughly % the right line height in the tables \renewcommand{\arraystretch}{1.3} \onehalfspacing % Commands \newcommand{\SetRowColor}[1]{\noalign{\gdef\RowColorName{#1}}\rowcolor{\RowColorName}} % Shortcut for row colour \newcommand{\mymulticolumn}[3]{\multicolumn{#1}{>{\columncolor{\RowColorName}}#2}{#3}} % For coloured multi-cols \newcolumntype{x}[1]{>{\raggedright}p{#1}} % New column types for ragged-right paragraph columns \newcommand{\tn}{\tabularnewline} % Required as custom column type in use % Font and Colours \definecolor{HeadBackground}{HTML}{333333} \definecolor{FootBackground}{HTML}{666666} \definecolor{TextColor}{HTML}{333333} \definecolor{DarkBackground}{HTML}{A3A3A3} \definecolor{LightBackground}{HTML}{F3F3F3} \renewcommand{\familydefault}{\sfdefault} \color{TextColor} % Header and Footer \pagestyle{fancy} \fancyhead{} % Set header to blank \fancyfoot{} % Set footer to blank \fancyhead[L]{ \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{C} \SetRowColor{DarkBackground} \vspace{-7pt} {\parbox{\dimexpr\textwidth-2\fboxsep\relax}{\noindent \hspace*{-6pt}\includegraphics[width=5.8cm]{/web/www.cheatography.com/public/images/cheatography_logo.pdf}} } \end{tabulary} \columnbreak \begin{tabulary}{11cm}{L} \vspace{-2pt}\large{\bf{\textcolor{DarkBackground}{\textrm{Clic Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Sh33T} via \textcolor{DarkBackground}{\uline{cheatography.com/151197/cs/32696/}}} \end{tabulary} \end{multicols}} \fancyfoot[L]{ \footnotesize \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{LL} \SetRowColor{FootBackground} \mymulticolumn{2}{p{5.377cm}}{\bf\textcolor{white}{Cheatographer}} \\ \vspace{-2pt}Sh33T \\ \uline{cheatography.com/sh33t} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Not Yet Published.\\ Updated 5th July, 2022.\\ Page {\thepage} of \pageref{LastPage}. \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Sponsor}} \\ \SetRowColor{white} \vspace{-5pt} %\includegraphics[width=48px,height=48px]{dave.jpeg} Measure your website readability!\\ www.readability-score.com \end{tabulary} \end{multicols}} \begin{document} \raggedright \raggedcolumns % Set font size to small. Switch to any value % from this page to resize cheat sheet text: % www.emerson.emory.edu/services/latex/latex_169.html \footnotesize % Small font. \begin{multicols*}{2} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Process Management}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{PS}} & Show process information \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Show running processes & ps -ef \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} Show running processes hide threads & pstree -Tp \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} Show detailed information about a process & pgrep -a process\_name \tn % Row Count 9 (+ 3) % Row 4 \SetRowColor{LightBackground} {\bf{KILL}} & Sends a signal to a process usually to stopping a process \tn % Row Count 12 (+ 3) % Row 5 \SetRowColor{white} Terminate a program using SIGTERM & kill pid \tn % Row Count 14 (+ 2) % Row 6 \SetRowColor{LightBackground} List available signal names & kill -l \tn % Row Count 16 (+ 2) % Row 7 \SetRowColor{white} Terminate a program using SIGHUP & kill -1 pid \tn % Row Count 18 (+ 2) % Row 8 \SetRowColor{LightBackground} Terminate a porgram using SIGINT & kill -2 pid \tn % Row Count 20 (+ 2) % Row 9 \SetRowColor{white} Signal the operating system to immediately terminate a program & kill -9 pid \tn % Row Count 24 (+ 4) % Row 10 \SetRowColor{LightBackground} Pause a program until it resumes with the SIGCONT signal & kill -17 pid \tn % Row Count 27 (+ 3) % Row 11 \SetRowColor{white} Cancel a running process & Ctrl + c \tn % Row Count 29 (+ 2) % Row 12 \SetRowColor{LightBackground} Pause a running process & Ctrl + z \tn % Row Count 31 (+ 2) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Process Management (cont)}} \tn % Row 13 \SetRowColor{LightBackground} Move process to background & bg \%job\_id \tn % Row Count 2 (+ 2) % Row 14 \SetRowColor{white} Move process to foreground & fg \%job\_id \tn % Row Count 4 (+ 2) % Row 15 \SetRowColor{LightBackground} Remove job from the shell & command \& disown \tn % Row Count 6 (+ 2) % Row 16 \SetRowColor{white} Show status of all jobs & jobs \tn % Row Count 8 (+ 2) % Row 17 \SetRowColor{LightBackground} Show status of a particular job & jobs job\_id \tn % Row Count 10 (+ 2) % Row 18 \SetRowColor{white} Show status and process id's of all jobs & jobs -l \tn % Row Count 12 (+ 2) % Row 19 \SetRowColor{LightBackground} Show process id's of all jobs & jobs -p \tn % Row Count 14 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Permission}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{CHOWN}} & Change user and group ownership of files and folders \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} Change the owner user of a file or folder & chown username path/to/file \tn % Row Count 6 (+ 3) % Row 2 \SetRowColor{LightBackground} Change the owner user and group of a file or folder & chown user:group path/to/file \tn % Row Count 9 (+ 3) % Row 3 \SetRowColor{white} Recursively change the owner of a folder and its contents & chown -R user path/to/folder \tn % Row Count 12 (+ 3) % Row 4 \SetRowColor{LightBackground} Change the owner of a symbolic link & chown -h user path/to/symlink \tn % Row Count 14 (+ 2) % Row 5 \SetRowColor{white} Change the owner of a file or folder to match a reference file & chown -{}-reference=path/to/reference\_filepath/to/file \tn % Row Count 18 (+ 4) % Row 6 \SetRowColor{LightBackground} {\bf{CHGRP}} & Change group ownership of files and folders. \tn % Row Count 21 (+ 3) % Row 7 \SetRowColor{white} Change the owner of a file or folder & chgrp group path/to/file \tn % Row Count 23 (+ 2) % Row 8 \SetRowColor{LightBackground} Recursively change the owner of a folder and its contents & chgrp -R group path/to/folder \tn % Row Count 26 (+ 3) % Row 9 \SetRowColor{white} Change the owner of a symbolic link & chgrp -h user path/to/symlink \tn % Row Count 28 (+ 2) % Row 10 \SetRowColor{LightBackground} Change the owner of a file/folder to match a reference file & chgrp -{}-reference=path/to/reference\_file path/to/file \tn % Row Count 31 (+ 3) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Permission (cont)}} \tn % Row 11 \SetRowColor{LightBackground} {\bf{CHMOD}} & Change the access permissions of a file or directory \tn % Row Count 3 (+ 3) % Row 12 \SetRowColor{white} Give the user who owns a file the right to e{[}x{]}ecute it & chmod u+x file \tn % Row Count 6 (+ 3) % Row 13 \SetRowColor{LightBackground} Remove executable rights from the group & chmod g-x file \tn % Row Count 8 (+ 2) % Row 14 \SetRowColor{white} Give the user rights to read and write to a file or directory & chmod u+rw file \tn % Row Count 12 (+ 4) % Row 15 \SetRowColor{LightBackground} Give all users rights to read and execute & chmod a+rx file \tn % Row Count 15 (+ 3) % Row 16 \SetRowColor{white} Give others (not in the file owner's group) the same rights as the group & chmod o=g file \tn % Row Count 19 (+ 4) % Row 17 \SetRowColor{LightBackground} User, Group, Other & 'u' | 'g' | 'o' \tn % Row Count 20 (+ 1) % Row 18 \SetRowColor{white} Read, Write, Execute & 'r' | 'w' | 'x' \tn % Row Count 21 (+ 1) % Row 19 \SetRowColor{LightBackground} '+' | '-' | '=' & Add, Revoke, Set \tn % Row Count 22 (+ 1) % Row 20 \SetRowColor{white} {\bf{Octal}} & 0 = None, 1 = execute only, 2 = write only, 3 = write and execute, 4 = read only, 5 = read and execute, 6 = read and write, 7 = read, write and execute (full permission) \tn % Row Count 31 (+ 9) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Archive}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{TAR}} & Create, Compress, Extract files \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Create new archive from files & tar -cf name file1 file2 file3 \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} Append files to an existing archive & tar -rf archive\_name files/to/add \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} List archived files & tar -tvf archive\_name \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} Extract all files & tar -xf archive\_name \tn % Row Count 9 (+ 1) % Row 5 \SetRowColor{white} Extract an archive to specified directory & tar -xf archive\_name -C path/to/dir \tn % Row Count 12 (+ 3) % Row 6 \SetRowColor{LightBackground} Create a gzipped archive & tar -czf name file1 file2 file3 \tn % Row Count 14 (+ 2) % Row 7 \SetRowColor{white} Create a bzipped archive & tar -cjf archive\_name \tn % Row Count 16 (+ 2) % Row 8 \SetRowColor{LightBackground} Extract gzipped archive & tar -xzf archive\_name \tn % Row Count 18 (+ 2) % Row 9 \SetRowColor{white} Extract bzipped archive & tar -xjf archive\_name \tn % Row Count 20 (+ 2) % Row 10 \SetRowColor{LightBackground} Create a compressed archive, using archive suffix to determine the compression & tar -caf \seqsplit{archive\_name.tar.xz}, archive\_name.gz, archive\_name.bz file1 file2 file3 \tn % Row Count 24 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Storage Media}} \tn % Row 0 \SetRowColor{LightBackground} Show all mounted filesystems & mount \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Mount a device to a directory & mount path/to/dev path/to/dir \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} Mount all the filesystems defined in /etc/fstab & mount -a \tn % Row Count 7 (+ 3) % Row 3 \SetRowColor{white} Unmount a filesystem & umount path/to/device \tn % Row Count 9 (+ 2) % Row 4 \SetRowColor{LightBackground} Fsck (Dry Run) & fsck -N /path/to/dev \tn % Row Count 10 (+ 1) % Row 5 \SetRowColor{white} Check for filesystem errors & fsck path/to/dev \tn % Row Count 12 (+ 2) % Row 6 \SetRowColor{LightBackground} Fix detected errors & fsck -y /path/to/dev \tn % Row Count 13 (+ 1) % Row 7 \SetRowColor{white} Show partitions & fdisk -l \tn % Row Count 14 (+ 1) % Row 8 \SetRowColor{LightBackground} Run fdsik & fdisk /dev/target/device \tn % Row Count 16 (+ 2) % Row 9 \SetRowColor{white} Create filesystem & mkfs.ext2 /path/to/dev {[}ext3, ext4, btrfs, ntfs{]} \tn % Row Count 19 (+ 3) % Row 10 \SetRowColor{LightBackground} Create filesystem with a volume-label & mkfs.ntfs -L name /path/to/dev \tn % Row Count 21 (+ 2) % Row 11 \SetRowColor{white} Create filesystem with specific UUID & mkfs.ntfs -U UUID /path/to/dev \tn % Row Count 23 (+ 2) % Row 12 \SetRowColor{LightBackground} Mkfs (Dry Run) & mkfs.ext4 -vv \tn % Row Count 24 (+ 1) % Row 13 \SetRowColor{white} Create a bootable usb media from a iso image & dd bs=8M if=/path/to/iso of=/dev/usb\_drive conv=fsync oflag=direct status=progress \tn % Row Count 29 (+ 5) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Secure Shell Host (SSH)}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{SSH}} & Secure Shell is a protocol used to securely log onto remote systems. It can be used for logging or executing commands on a remote server. \tn % Row Count 7 (+ 7) % Row 1 \SetRowColor{white} Connect to a remote server & ssh \seqsplit{username@remote\_host} \tn % Row Count 9 (+ 2) % Row 2 \SetRowColor{LightBackground} Connect to a remote server with a specific identity (private key) & ssh -i path/to/key\_file \seqsplit{username@remote\_host} \tn % Row Count 13 (+ 4) % Row 3 \SetRowColor{white} Connect to a remote server using a speciific port & ssh -p 23 \seqsplit{username@remote\_host} \tn % Row Count 16 (+ 3) % Row 4 \SetRowColor{LightBackground} Execute a command on a remote server & ssh remote\_host "example\_command" \tn % Row Count 18 (+ 2) % Row 5 \SetRowColor{white} Compress all data if the connection is slow & ssh -C \seqsplit{username@remote\_host} \tn % Row Count 21 (+ 3) % Row 6 \SetRowColor{LightBackground} Print debug information & ssh -v \seqsplit{username@remote\_host} \tn % Row Count 23 (+ 2) % Row 7 \SetRowColor{white} Enable X11 forwarding & ssh -X \seqsplit{username@remote\_host} \tn % Row Count 25 (+ 2) % Row 8 \SetRowColor{LightBackground} Generate SSH keys & ssh-keygen \tn % Row Count 26 (+ 1) % Row 9 \SetRowColor{white} Copy puplic SSH key to a server & ssh-copy-id ip\_adress \tn % Row Count 28 (+ 2) % Row 10 \SetRowColor{LightBackground} {\bf{SCP}} & Secure copy files over ssh \tn % Row Count 30 (+ 2) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Secure Shell Host (SSH) (cont)}} \tn % Row 11 \SetRowColor{LightBackground} Copy a local file to a remote host & scp path/to/file \seqsplit{username@remote\_host:path/to/save} \tn % Row Count 3 (+ 3) % Row 12 \SetRowColor{white} Copy a file from a remote host to your local directory & scp \seqsplit{username@remote\_host:path/to/remote\_file} path/local/dir \tn % Row Count 6 (+ 3) % Row 13 \SetRowColor{LightBackground} Recursively copy the contents of a directory on a remote host to a local directory & scp -r path/to/local\_dir \seqsplit{remote\_host:path/to/save} \tn % Row Count 11 (+ 5) % Row 14 \SetRowColor{white} Use a specific ssh private key for authentication with the remote host & scp -i \textasciitilde{}/.ssh/private\_key local\_file \seqsplit{remote\_host:path/to/save} \tn % Row Count 15 (+ 4) % Row 15 \SetRowColor{LightBackground} Use a speciific port & scp -P 23 path/to/file \seqsplit{username@remote\_host:path/to/save} \tn % Row Count 18 (+ 3) % Row 16 \SetRowColor{white} Copying multiple files to a remote host & scp file1 file2 \seqsplit{username@remote\_host:path/to/save} \tn % Row Count 21 (+ 3) % Row 17 \SetRowColor{LightBackground} Copying multiple file from remote host & scp username@localhost:path/to/\{file1, file2\} \tn % Row Count 24 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Kernel module handling}} \tn % Row 0 \SetRowColor{LightBackground} Show active kernel modules & lsmod \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Show information about a specific kernel module & modinfo modulename \tn % Row Count 5 (+ 3) % Row 2 \SetRowColor{LightBackground} Insert a module into the Linux Kernel & insmod modulename \tn % Row Count 7 (+ 2) % Row 3 \SetRowColor{white} Remove a module from the Linux Kernel & rmmod modulename \tn % Row Count 9 (+ 2) % Row 4 \SetRowColor{LightBackground} Generate a list of dependency description of kernel modules & depmod \tn % Row Count 12 (+ 3) % Row 5 \SetRowColor{white} {\bf{MODPROBE}} & Add and remove modules form the Linux Kernel \tn % Row Count 15 (+ 3) % Row 6 \SetRowColor{LightBackground} Insert kernel modules & modprobe -a modulename1 modulename2 \tn % Row Count 17 (+ 2) % Row 7 \SetRowColor{white} Remove kernel module & modprobe -r modulename1 modulename2 \tn % Row Count 19 (+ 2) % Row 8 \SetRowColor{LightBackground} Prints current configuration & modprobe -c \tn % Row Count 21 (+ 2) % Row 9 \SetRowColor{white} Modprobe (Dry Run) & modprobe -{}-show \tn % Row Count 22 (+ 1) % Row 10 \SetRowColor{LightBackground} Print messages about what the program is doing & modprobe -v \tn % Row Count 25 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.6 cm} x{4.4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{File Searching}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{FIND}} & It can be used to find files and directories and perform subsequent operations on them \tn % Row Count 4 (+ 4) % Row 1 \SetRowColor{white} Search by name case sensitive & find /dir -name "search\_term" \tn % Row Count 6 (+ 2) % Row 2 \SetRowColor{LightBackground} Search by name case insensitive & finde /dir -iname "search\_term" \tn % Row Count 8 (+ 2) % Row 3 \SetRowColor{white} Search by file type d=dir, f=file & find /dir -type f \tn % Row Count 10 (+ 2) % Row 4 \SetRowColor{LightBackground} Search by wildcard & find /dir "{\emph{search\_term", "search\_term}}" \tn % Row Count 12 (+ 2) % Row 5 \SetRowColor{white} Search and execute a command & find /dir -exec command \{\} \textbackslash{}; \tn % Row Count 14 (+ 2) % Row 6 \SetRowColor{LightBackground} {\bf{PLOCATE}} & find files by name \tn % Row Count 15 (+ 1) % Row 7 \SetRowColor{white} Search for files & plocate search\_term \tn % Row Count 16 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4.08 cm} x{3.92 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Tmux}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{TMUX}} & Terminal Multiplexer (prefix ctrl + a) \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Enter copy mode & prefix + pageup \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} Choose a session from a list & prefix + s \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} Choose a window from a list & prefix -w \tn % Row Count 7 (+ 2) % Row 4 \SetRowColor{LightBackground} Show a clock & prefix -t \tn % Row Count 8 (+ 1) % Row 5 \SetRowColor{white} Zoom active pane rather maximize & prefix - z \tn % Row Count 10 (+ 2) % Row 6 \SetRowColor{LightBackground} Resize the pane up by 5 & prefix + alt + up (arrow keys) \tn % Row Count 12 (+ 2) % Row 7 \SetRowColor{white} Resize the pane down by 5 & prefix + alt + down (arrow keys) \tn % Row Count 14 (+ 2) % Row 8 \SetRowColor{LightBackground} Resize the pane left by 5 & prefix + alt + left (arrow keys) \tn % Row Count 16 (+ 2) % Row 9 \SetRowColor{white} Resize the pane right by 5 & prefix + alt + right (arrow keys) \tn % Row Count 18 (+ 2) % Row 10 \SetRowColor{LightBackground} Break the pane out and maximize to fullscreen & prefix + shift + ! \tn % Row Count 21 (+ 3) % Row 11 \SetRowColor{white} Create a new window & prefix + c \tn % Row Count 22 (+ 1) % Row 12 \SetRowColor{LightBackground} Switch the attached client to the next session & prefix + shift + ) \tn % Row Count 25 (+ 3) % Row 13 \SetRowColor{white} Switch the attached client to the previous session & prefix + shift + ( \tn % Row Count 28 (+ 3) % Row 14 \SetRowColor{LightBackground} Select window & prefix + 0 to 9 \tn % Row Count 29 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.88 cm} x{5.12 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Kitty}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{KITTY}} & Terminal emulator (prefix ctrl + shift) \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} New window & prefix + enter \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} Select window & prefix + 1 \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} Open new tab & prefix + t \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} Close tab & prefix + t \tn % Row Count 6 (+ 1) % Row 5 \SetRowColor{white} Next tab & prefix + right (arrow key) \tn % Row Count 8 (+ 2) % Row 6 \SetRowColor{LightBackground} Previous tab & prefix + left (arrow key) \tn % Row Count 9 (+ 1) % Row 7 \SetRowColor{white} Set tab title & prefix + alt + t \tn % Row Count 10 (+ 1) % Row 8 \SetRowColor{LightBackground} Rezise window or pane & prefix + r \tn % Row Count 12 (+ 2) % Row 9 \SetRowColor{white} Edit kitty config file & prefix + F2 \tn % Row Count 14 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4.56 cm} x{3.44 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{User account administration}} \tn % Row 0 \SetRowColor{LightBackground} Create a user account & useradd username \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Modify a user account & usermod username \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Delete a user account & deluser username \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} Change user password & passwd username \tn % Row Count 4 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Miscellaneous}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{ALIAS}} & Creates aliases words that are replaced by a command string \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} Create a generic alias & word="command" \tn % Row Count 5 (+ 2) % Row 2 \SetRowColor{LightBackground} Remove an aliased command & unalias word \tn % Row Count 7 (+ 2) % Row 3 \SetRowColor{white} List all aliased words & alias -p \tn % Row Count 9 (+ 2) % Row 4 \SetRowColor{LightBackground} View the command associated to a given alias & alias word \tn % Row Count 12 (+ 3) % Row 5 \SetRowColor{white} {\bf{CAL}} & Prints calendar information \tn % Row Count 14 (+ 2) % Row 6 \SetRowColor{LightBackground} Display calendar for the current month & cal \tn % Row Count 16 (+ 2) % Row 7 \SetRowColor{white} Display calendar for a specific month & cal month\_number \tn % Row Count 18 (+ 2) % Row 8 \SetRowColor{LightBackground} Display a 12 month calendar for the current year & cal -y \tn % Row Count 21 (+ 3) % Row 9 \SetRowColor{white} {\bf{ECHO}} & Display a line of text \tn % Row Count 23 (+ 2) % Row 10 \SetRowColor{LightBackground} Print a text message & echo example\_text \tn % Row Count 24 (+ 1) % Row 11 \SetRowColor{white} Redirect input to a file & echo example\_text \textgreater{}\textgreater{} filename \tn % Row Count 26 (+ 2) % Row 12 \SetRowColor{LightBackground} Verify ISO files with sha1sum & echo "hash" isoname | sha1sum -c \tn % Row Count 28 (+ 2) % Row 13 \SetRowColor{white} {\bf{FILE}} & Determine file type and give a description of the type of the specified file \tn % Row Count 32 (+ 4) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Miscellaneous (cont)}} \tn % Row 14 \SetRowColor{LightBackground} Determine file type & file path/to/file \tn % Row Count 1 (+ 1) % Row 15 \SetRowColor{white} Determine the mime encoding type of a file & file -i path/to/file \tn % Row Count 4 (+ 3) % Row 16 \SetRowColor{LightBackground} Try to look inside compressed files & file -z path/to/file \tn % Row Count 6 (+ 2) % Row 17 \SetRowColor{white} Try to look inside compressed files but report information about the contens & file -Z path/to/file \tn % Row Count 10 (+ 4) % Row 18 \SetRowColor{LightBackground} {\bf{MAN}} & Display manual pages \tn % Row Count 11 (+ 1) % Row 19 \SetRowColor{white} Dsiplay man page for a command & man command \tn % Row Count 13 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}