Page 1 of 1

Usefull commands in terminal

Posted: Fri Nov 15, 2024 7:29 pm
by Mike R
Don't know why I can't remember these... :roll:

Completely remove a package with:

Code: Select all

sudo apt purge <package_name>
Download something:

Code: Select all

wget <download_url>
Execute deb package. First cd into it's directory then:

Code: Select all

sudo dkpg -i <.deb file>
Combine commands. Sudo -i first then place '&' between the commands:

Code: Select all

apt-get update & apt-get upgrade