User Tools

Site Tools


useful_commands

This is an old revision of the document!


How to restart your network connection

sudo service network-manager restart

See which tasks and processes are running

top

Which linux kernel/version

uname -a

cat /etc/apt/sources.list sources list your os is using sudo nautilus run Nautilus as root dpkg –list list all installed apps

sudo apt-get upgrade firefox update an app sudo apt-get remove “package-name” delete app sudo apt-get purge “package-name” delete apps + settings sudo apt-get autoremove remove all dependencies you don't need sudo apt autoclean && sudo apt autoremove

inxi -Frxzc0 shows your pc specs sudo ufw enable enable firewall sudo ufw disable disable firewall SomeCommand > SomeFile.txt output of a command to a text file (dpkg –list > applist.txt)

Shortcut to shutdown/restart/suspend
CTRL+DEL+END

useful_commands.1569692599.txt.gz · Last modified: 2024/03/12 21:23 (external edit)