Arch Maintenance - flavio20002/linux GitHub Wiki

Install updated:

paru

Clean the system:

paru -c
paru -Scc
rm -rf ~/.cache/*
sudo journalctl --vacuum-size=50M

Useful commands:

List all the disks:

lsblk

Free space:

df -h

Free memory:

free -h

Logs:

journalctl -u bluetooth
journalctl --since=today
sudo dmesg | grep 'Bluetooth'

Copy all files:

find folder0 -type f -exec cp {} targetfolder \;

Screenshots:

  • print (full screen)
  • shift + print (select area)
  • alt + print (window)

Press ctrl to save in clipboard instead saving the file