Archive

Archive for the ‘Ubuntu’ Category

Delete trash of user and root

root:

sudo rm -r /root/.local/share/Trash/*

user:

sudo rm -r ~/.local/share/Trash/*

or

sudo rm -r /home/username/.local/share/Trash/*

Categories: Linux, Shell, Ubuntu

Java installieren/auswählen

Installation:

sudo apt-get install sun-java6-bin sun-java6-jdk sun-java6-jre

bzw.

sudo apt-get install openjdk-6-jre

Auswahl der Java Version:

sudo update-alternatives --config java

Überprüfung der Version

java -version
Categories: Linux, Ubuntu