Category: Linux

git 0

How to add multiple ssh keys for a single user

If you are using mul­ti­ple email addresses for dif­fer­ent ser­vices and each of them require you to enter a dif­fer­ent pub­lic key, then you need to have a pub­lic key gen­er­ated locally for each…

java 0

[Resolved] Remove Java completely from Mac / Linux

sudo rm –fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin sudo rm –fr /Library/PreferencePanes/JavaControlPanel.prefPane sudo rm –fr ~/Library/Application\ Support/Java # Remove Java run­time from the root of your sys­tem cd /Library/ rm –rf Java/ Ver­ify Java in unin­stalled java…

ubuntu-icon 0

Rvm install fails due to errors in apt-get update

Your RVM instal­la­tion is fail­ing because apt-get update has errors. The sim­plest way to fix this is 1) Iden­tify the errors dur­ing apt-update sudo apt-get update | grep “Failed” 2) Com­ment out the fail­ing ppa’s…

ubuntu-icon 0

rename extension of multiple files linux

I recently wanted to rename all my jpg files to png files in one folder on my ubuntu device. The fol­low­ing com­mand did the trick for me. rename ‘s/.jpg$/.png/’ *.jpg

ubuntu-icon 0

How to check whether your ubuntu is 64 bit

I recently started play­ing with docker and their pre­req­ui­site states that your ubuntu must be 64 bits. Here’s the com­mand that helps you find the num­ber of bits for your ubuntu uname –a On my…