1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-05-31 20:00:47 +00:00
awesome-cheatsheets/tools/ubuntu.sh
2020-07-01 11:31:00 +02:00

11 lines
414 B
Bash

##############################################################################
# UBUNTU
##############################################################################
scp /path/to/file user@server:/path/to/destination # Copy file from local to server
df -h # Check the amount of free space
sudo ufw status # Check status
sudo ufw allow from remote_IP_address to any port 3306 # Allow external ip to access port