\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{nitcops} \pdfinfo{ /Title (lfcs-test-operations-deployment.pdf) /Creator (Cheatography) /Author (nitcops) /Subject (LFCS test Operations deployment 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{LFCS test Operations deployment Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{nitcops} via \textcolor{DarkBackground}{\uline{cheatography.com/217192/cs/47643/}}} \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}nitcops \\ \uline{cheatography.com/nitcops} \\ \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 31st January, 2026.\\ 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*}{3} \begin{tabularx}{5.377cm}{x{2.68758 cm} x{2.28942 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{configure parameters kernel}} \tn % Row 0 \SetRowColor{LightBackground} /proc/sys/ & le répertoire parametre noyaux \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} echo 1 \textgreater{} \seqsplit{/proc/sys/net/ipv4/ip\_forward} ou systctl -w \seqsplit{net.ipv4.ip\_forward=1/0} & non persistent \tn % Row Count 6 (+ 4) % Row 2 \SetRowColor{LightBackground} sysctl -a | grep "mot-clé" & listé tous les service \tn % Row Count 8 (+ 2) % Row 3 \SetRowColor{white} /etc/sysctl.conf & persistent \tn % Row Count 9 (+ 1) % Row 4 \SetRowColor{LightBackground} sysctl -p /etc/sysctl.d/*.conf & recharge les paramétre persistent \tn % Row Count 11 (+ 2) % Row 5 \SetRowColor{white} sysctl net.ipv4.ip\_forward & vérifié une valeur \tn % Row Count 13 (+ 2) % Row 6 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{vm.swappiness} \tn % Row Count 14 (+ 1) % Row 7 \SetRowColor{white} \seqsplit{/etc/security/limits.conf} & student hard nproc 100 \tn % Row Count 16 (+ 2) % Row 8 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{ulimit -u 100} \tn % Row Count 17 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.83689 cm} x{2.14011 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{process and service}} \tn % Row 0 \SetRowColor{LightBackground} journalctl -u \textless{}service\textgreater{} -{}-no-pager & si un service démarre pas \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{top/htop/ps aux...} \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{pgrep} \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{pkill et killall?} \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{nice et renice} \tn % Row Count 6 (+ 1) % Row 5 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{ss -tulpn ou nstat tulpen} \tn % Row Count 7 (+ 1) % Row 6 \SetRowColor{LightBackground} systemd-analyze blame & classement service lent \tn % Row Count 9 (+ 2) % Row 7 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{pstree -p} \tn % Row Count 10 (+ 1) % Row 8 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{journalctl -xe} \tn % Row Count 11 (+ 1) % Row 9 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{uptime} \tn % Row Count 12 (+ 1) % Row 10 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{systemctl unmask \textless{}service\textgreater{}} \tn % Row Count 13 (+ 1) % Row 11 \SetRowColor{white} lsof & à revoir \tn % Row Count 14 (+ 1) % Row 12 \SetRowColor{LightBackground} strace & revoir \tn % Row Count 15 (+ 1) % Row 13 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{systemctl isolate multi-user.target} \tn % Row Count 16 (+ 1) % Row 14 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{systemctl set-default .target} \tn % Row Count 17 (+ 1) % Row 15 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{systemctl get-default} \tn % Row Count 18 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.4885 cm} x{2.4885 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Virtual Machines (libvirt)}} \tn % Row 0 \SetRowColor{LightBackground} virsh list -{}-all & liste toute les vm éteinte et allumé \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{virsh \seqsplit{start/stop/autostart/destroy} nomVM} \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} virt-install -{}-name vm\_exam -{}-memory 2048 -{}-vcpus 2 -{}-disk size=10 -{}-cdrom /tmp/rhel.iso -{}-os-variant rhel9.0 & osinfo-query os, -{}-prompt \tn % Row Count 9 (+ 6) % Row 3 \SetRowColor{white} virsh setmem \textless{}nom\_vm\textgreater{} 4G -{}-config & à chaud \tn % Row Count 11 (+ 2) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{virsh dominfo \textless{}nom\_vm\textgreater{}} \tn % Row Count 12 (+ 1) % Row 5 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{virsh edit \textless{}nom\_vm\textgreater{}} \tn % Row Count 13 (+ 1) % Row 6 \SetRowColor{LightBackground} virsh net-list -{}-all & voir les réseaux virtuels \tn % Row Count 15 (+ 2) % Row 7 \SetRowColor{white} virsh net-start default & nécessaire si le réseau est inactif \tn % Row Count 17 (+ 2) % Row 8 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{virsh snapshot-create-as \textless{}nom\_vm\textgreater{} \textless{}nom\_snapshot\textgreater{}} \tn % Row Count 18 (+ 1) % Row 9 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{virsh console \textless{}nom\_vm\textgreater{}} \tn % Row Count 19 (+ 1) % Row 10 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{virt-clone -{}-original vm1 -{}-name vm2 -{}-file \seqsplit{/var/lib/libvirt/images/vm2}.qcow2} \tn % Row Count 21 (+ 2) % Row 11 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{virsh undefine \textless{}nom\_vm\textgreater{} -{}-remove-all-storage} \tn % Row Count 22 (+ 1) % Row 12 \SetRowColor{LightBackground} \seqsplit{/var/lib/libvirt/images/}.qcow2 & les images \tn % Row Count 24 (+ 2) % Row 13 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{virsh pool-list -{}-all} \tn % Row Count 25 (+ 1) % Row 14 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{virsh pool-start default} \tn % Row Count 26 (+ 1) % Row 15 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{virsh pool-refresh default} \tn % Row Count 27 (+ 1) % Row 16 \SetRowColor{LightBackground} virt-df -d \textless{}nom\_vm\textgreater{} & voir l'occupation du disque à l'intérieur de la VM \tn % Row Count 30 (+ 3) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{2.4885 cm} x{2.4885 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Virtual Machines (libvirt) (cont)}} \tn % Row 17 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{virt-ls -d \textless{}nom\_vm\textgreater{} /etc} \tn % Row Count 1 (+ 1) % Row 18 \SetRowColor{white} virsh console \textless{}nom\_vm\textgreater{} & console=ttyS0 à la fin de la ligne \seqsplit{GRUB\_CMDLINE\_LINUX}. \tn % Row Count 4 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.23965 cm} x{2.73735 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{schedule jobs}} \tn % Row 0 \SetRowColor{LightBackground} contab -e et crontab -l & MIN HOUR DOM MON DOW \textless{}commande\textgreater{} 0 5 {\emph{ }} 1 /root/backup.sh \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{/etc/cron.daily/, /etc/cron.hourly/} \tn % Row Count 4 (+ 1) % Row 2 \SetRowColor{LightBackground} /etc/cron.allow et /etc/cron.deny & /etc/at.deny \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{at 14:00} \tn % Row Count 7 (+ 1) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{atq} \tn % Row Count 8 (+ 1) % Row 5 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{atrm} \tn % Row Count 9 (+ 1) % Row 6 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{systemctl list-timers} \tn % Row Count 10 (+ 1) % Row 7 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{tail -f /var/log/cron} \tn % Row Count 11 (+ 1) % Row 8 \SetRowColor{LightBackground} /etc/crontab & "{\emph{/15 }} {\emph{ }} {\emph{" ou "0 8,12,16 }} {\emph{ }}" \tn % Row Count 13 (+ 2) % Row 9 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{/etc/anacrontab} \tn % Row Count 14 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.64241 cm} x{3.33459 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{software packages or repositories}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{yum search \textless{}mot-clé\textgreater{}} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{yum provides \textless{}chemin\_fichier\textgreater{}} \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{yum list installed} \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{yum history} \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{yum history undo \textless{}ID\textgreater{}} \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{yum repolist} \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} \seqsplit{/etc/yum.repos.d/} & \seqsplit{/etc/yum.repos.d/custom.repo} \tn % Row Count 8 (+ 2) % Row 7 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{rpm -ivh \textless{}fichier.rpm\textgreater{}} \tn % Row Count 9 (+ 1) % Row 8 \SetRowColor{LightBackground} rpm -ql \textless{}paquet\textgreater{} & -qc et compagnie \tn % Row Count 11 (+ 2) % Row 9 \SetRowColor{white} rpm -V \textless{}paquet\textgreater{} & Vérifie si les fichiers du paquet ont été modifiés depuis l'installation (taille, date, etc.). Si rien ne s'affiche, c'est que tout est conforme. \tn % Row Count 17 (+ 6) % Row 10 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{yum clean all} \tn % Row Count 18 (+ 1) % Row 11 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{dnf module list} \tn % Row Count 19 (+ 1) % Row 12 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{dnf module install php:7.4} \tn % Row Count 20 (+ 1) % Row 13 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{dnf module switch-to php:8.1} \tn % Row Count 21 (+ 1) % Row 14 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{rpm2cpio nom\_du\_paquet.rpm | cpio -idmv} \tn % Row Count 22 (+ 1) % Row 15 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{yum install createrepo} \tn % Row Count 23 (+ 1) % Row 16 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{createrepo /repo\_local} \tn % Row Count 24 (+ 1) % Row 17 \SetRowColor{white} dnf deplist \textless{}paquet\textgreater{} & Vérifier les dépendances \tn % Row Count 26 (+ 2) % Row 18 \SetRowColor{LightBackground} dnf autoremove & Supprimer en nettoyant les dépendances inutiles \tn % Row Count 28 (+ 2) % Row 19 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{rpm -{}-import /chemin/vers/la/clé} \tn % Row Count 29 (+ 1) % Row 20 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{dnf group install "Development Tools"} \tn % Row Count 30 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.73735 cm} x{2.23965 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Configure create and manage containers}} \tn % Row 0 \SetRowColor{LightBackground} podman run -d -v \seqsplit{/data/site:/usr/share/nginx/html:Z} nginx & :Z = conteneur RW \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{podman generate systemd -{}-name mon-web -{}-files} \tn % Row Count 4 (+ 1) % Row 2 \SetRowColor{LightBackground} podman info & Savoir si Podman est là \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{Copier le fichier dans \textasciitilde{}/.config/systemd/user/ (pour un utilisateur) ou /etc/systemd/system/ (pour root).} \tn % Row Count 9 (+ 3) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{systemctl enable -{}-now container-mon-web.} \tn % Row Count 10 (+ 1) % Row 5 \SetRowColor{white} podman container prune & Nettoyer les conteneurs arrêtés \tn % Row Count 12 (+ 2) % Row 6 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{podman stats} \tn % Row Count 13 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.4885 cm} x{2.4885 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Recover hardware, OS, FS failure}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{\seqsplit{systemd.unit=emergency.target}} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} mount -o remount,rw /sysroot & chroot /sysroot, passwd root, touch /.autorelabel, exit deux fois. \tn % Row Count 5 (+ 4) % Row 2 \SetRowColor{LightBackground} fsck /dev/sda1 & (Vérifie et répare). Attention : Ne jamais lancer fsck sur une partition montée. \tn % Row Count 10 (+ 5) % Row 3 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{xfs\_repair /dev/sdb1} \tn % Row Count 11 (+ 1) % Row 4 \SetRowColor{LightBackground} /etc/fstab & système échoue au boot car une ligne dans /etc/fstab est fausse (UUID erroné ou disque absent). Commenter la ligne fautive ou ajouter l'option nofail \tn % Row Count 19 (+ 8) % Row 5 \SetRowColor{white} grub2-install /dev/sda & Si tu vois un message "GRUB \textgreater{}" ou si le menu ne s'affiche plus.. (sur le disque, pas la partition). \tn % Row Count 24 (+ 5) % Row 6 \SetRowColor{LightBackground} grub2-mkconfig -o \seqsplit{/boot/grub2/grub.cfg} & BIOS \tn % Row Count 26 (+ 2) % Row 7 \SetRowColor{white} grub2-mkconfig -o \seqsplit{/boot/efi/EFI/redhat/grub}.cfg & UEFI \tn % Row Count 29 (+ 3) % Row 8 \SetRowColor{LightBackground} "dmesg | grep -i error" ou "journalctl -p err" & Pour voir les erreurs matérielles détectées par le noyau. \tn % Row Count 32 (+ 3) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{2.4885 cm} x{2.4885 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Recover hardware, OS, FS failure (cont)}} \tn % Row 9 \SetRowColor{LightBackground} smartctl -a /dev/sda & Pour vérifier l'état de santé (S.M.A.R.T) d'un disque dur (nécessite le paquet smartmontools). \tn % Row Count 5 (+ 5) % Row 10 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{lsblk et fdisk -l} \tn % Row Count 6 (+ 1) % Row 11 \SetRowColor{LightBackground} REISUB & maintiens Alt + Impr Écran et tape lentment s puis u puis b \tn % Row Count 9 (+ 3) % Row 12 \SetRowColor{white} top et htop & Z = Zombie (processus mort mais pas nettoyé). D = Uninterruptible sleep (souvent un processus qui attend un disque dur en train de mourir). \tn % Row Count 17 (+ 8) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{4.23045 cm} p{0.74655 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{SELinux}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{ps -efZ | grep httpd} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} setsebool -P httpd\_can\_sendmail on & -P !!! \tn % Row Count 2 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}