/Cheat-Sheet

A Cheat-Sheet with stuff I use not so often so I tend to forget it ...

Debian / Ubuntu

Find out architecture

  • dpkg --print-architecture
  • uname -a

Find out distribution

  • cat /etc/issue
  • lsb_release -a

Find out why a package is there

apt-cache rdepends --installed $package

Cleanup Packages

  • apt --fix-broken install
  • apt-get -f install
  • dpkg --force-all --configure -a
  • dpkg --purge --force-depends xxxxxxxxxx

Media

Movies / Videos

  • renaming properly with year etc : mnamer

Android

Old Menu

  • get back old menu on old Apps with adb : adb shell input keyevent 82