Skip Navigation

Linux Info

Annie UK


Below is a list of random Linux information for my reference.


001 New Install
Apps to install on a new Linux:
  • sudo apt install fonts-noto-color-emoji fonts-quicksand php neofetch gimp inkscape gparted conky rclone p7zip keepassxc certbot gnome-tweaks firefox ubuntu-restricted-extras tree
002 Terminal
Use the following key-presses to open a Terminal window:
  • Crtl + Alt + T
003 Software update
Use the following commands in a terminal window to update Linux to the latest software:
  • sudo apt update
  • sudo apt upgrade
  • sudo snap refresh
004 Apache server
To start Apache, the command would be:
  • sudo systemctl start apache2
To stop Apache, the command would be:
  • sudo systemctl stop apache2
To restart the Apache server, issue the command:
  • sudo service apache2 restart
005 Remove old journal files
Use the following command in a terminal window to clear out all journal files older than 1 day, this recovers quite a bit of HDD space:
  • sudo journalctl --vacuum-time=1d
006 Location of script files
Scripts can be placed in the following directory so you don't have to include the full path:
  • /usr/local/bin
007 Start Network Manager
Use the following:
  • sudo systemctl start NetworkManager
008 Stop audio setting defaulting to headphones
Use the following:
  • sudo nano /etc/pulse/

Find "load-module" and comment it out by adding a # to the front of the line