Skip to content

Instantly share code, notes, and snippets.

@paulozullu
Last active June 6, 2018 19:06
Show Gist options
  • Save paulozullu/568590e9b0aa5d1771c69aaf15f7f8a5 to your computer and use it in GitHub Desktop.
Save paulozullu/568590e9b0aa5d1771c69aaf15f7f8a5 to your computer and use it in GitHub Desktop.
Linux commands

Find a file

sudo find / -iname 'filename.ext' -print

Fix error on running pip, easy_install and openning the terminal

sudo rm -rf /usr/lib/python2.7/lib-dynload/_hashlib.x86_64-linux-gnu.so 

Fix bluetooth

sudo modprobe -r btusb && sleep 20 && sudo modprobe btusb
echo btusb | sudo tee -a /etc/modules

Fix plasma memory leak

pkill plasmashell; QSG_RENDER_LOOP=threaded kstart plasmashell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment