A collection of bash scripts and shortcuts to make your life in the terminal a bit easier.
Copy the following commands into your terminal for an automated installation:
git clone https://github.com/pikapower9080/bash-scripts
cd bash-scripts
chmod +x install.sh
sudo ./install.sh
After installing the following commands are added to /usr/local/bin
meaning that you should be able to execute them by typing their name anywhere:
Opens the apache2 config in nano and then restarts the service
Updates apt, then installs a package. Example: sudo aptinstall wget neofetch
Looks for processes using a port and kills them with confirmation. Example: killport 8080
Interactive script to create a new bash script/command and give it execute permission. Typically requires sudo.
Shorthand of sudo shutdown now
(shuts down your system)
Runs sudo apt update
then sudo apt upgrade
then sudo apt dist-upgrade
for a full system update
Shows your system temperature and updates it two times a second
Creates a local backup of important minecraft server files in the ./backups directory