Archive

Archive for the ‘Shell’ Category

Name of graphic card

lspci | grep -i vga

Advertisements
Categories: Linux, Shell, Ubuntu

Assign a root password

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
Categories: Linux, Shell, Ubuntu

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

Dateien rekursiv löschen


find . -name "*.log" -type f -exec rm -r {} \;

Categories: Linux, Shell