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
See sources list your OS is using
cat /etc/apt/sources.list
Run an app as root
sudo nemo
List all installed packages
dpkg --list
Update and/or delete an app
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
Enable firewall
sudo ufw enable
Disable firewall
sudo ufw disable
Show your PC specifications
inxi -Frxzc0
Output of a command to a text file\ fx
dpkg --list --> appl_list.txt
Shortcut to shutdown/restart/suspend
CTRL+DEL+END
useful_commands.1569693085.txt.gz · Last modified: 2024/03/12 21:24 (external edit)