Download as pdf or txt
Download as pdf or txt
You are on page 1of 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