2 years ago in arch ubuntu bash linux ~ read. Clear Linux trash via the command line / Bash Sometimes you might want to clear you user's trash and root's aswell via the command line on Linux, here's how: rm -rf /home/*/.local/share/Trash/*/** && sudo rm -rf /root/.local/share/Trash/*/** Find public IP address and local IP address on Linux via the command line