Archive
Archive for the ‘Shell’ Category
Assign a root password
May 5, 2010
3 comments
To be able to log in as root directly, you must assign a root password. This can be done with:
sudo passwd root
Afterwards, you can use
su
Delete trash of user and root
May 5, 2010
Leave a comment
root:
sudo rm -r /root/.local/share/Trash/*
user:
sudo rm -r ~/.local/share/Trash/*
or
sudo rm -r /home/username/.local/share/Trash/*
Dateien rekursiv löschen
April 4, 2010
Leave a comment
find . -name "*.log" -type f -exec rm -r {} \;