0% found this document useful (0 votes)
45 views1 page

Linux and Arch Commands Cheat Sheet: by Via

This document provides a cheat sheet of Linux and Arch commands. It lists commands for package management with yay/pacman, redirection, finding files and directories, monitoring system processes and hardware, and listing files and directories. The cheat sheet contains concise explanations and examples of commands for basic Linux and Arch system tasks.

Uploaded by

Adam Rudolph
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views1 page

Linux and Arch Commands Cheat Sheet: by Via

This document provides a cheat sheet of Linux and Arch commands. It lists commands for package management with yay/pacman, redirection, finding files and directories, monitoring system processes and hardware, and listing files and directories. The cheat sheet contains concise explanations and examples of commands for basic Linux and Arch system tasks.

Uploaded by

Adam Rudolph
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Linux and Arch commands Cheat Sheet

by oporcoranchero via cheatography.com/122224/cs/22622/

yay/pacman redire​cting system and kernel

yay -S [--noc​‐ Install a package a> Redirect stdout to b uname Kernel name
onfirm] <pa​cka​‐ b uname -v Kernel version
ge> $(!!) Redirect the last command output in lscpu List CPU inform​ation
yay -Ss <pa​cka​‐ Search a package a new one
screen​‐ Arch Linux system inform​‐
ge>
fetch ation
yay -Si <pa​cka​‐ Package inform​ation find
hwinfo All hardware inform​ation
ge> find <st​art​ing​dir​ect​ory> Basic
lspci List PCI
yay -U path Install a local package <op​tio​ns> <search term> structure
lsusb List USB
yay -Qq List of all package find . -name "​file” Find by name
fdisk -l List disk partitions
package find . -iname "​file” Find by
name, top System processes monitoring
yay -Qm List of non-of​icial
package ignoring CL inxi -G List installed drivers

yay -Pu List of packages that find . -name “*.format” Find by


format ls
needs to be updated
yay -R <pa​cka​‐ Remove a package find . -not -name "​fil​e" Exclude a -a Show all
ge> name -R Recursive list
yay -Rnsc <pa​‐ Remove a package, find . -type "​typ​e" f:file, d:dire​‐ -S Sort by size
cka​ge> depend​encies and ctory, l:link...
-l Long listing
config find . -empty Empty files
-d Only direct​ories
yay -Sya Update the system and directory
-a Hidden files/​dir​ect​ories
find . -exec Find
-lias Full listing
executable
programs

By oporcoranchero Not published yet. Sponsored by Readable.com


Last updated 13th May, 2020. Measure your website readability!
Page 1 of 1. https://readable.com

cheatography.com/oporcoranchero/

You might also like