Created
September 11, 2017 06:33
-
-
Save tidalgo22/1d339fa8fbf5be829078dcf2c49877e8 to your computer and use it in GitHub Desktop.
Ubuntu Command List
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir myfolder - create folder | |
rm -rf mydir - In the above example, the "mydir" directory, along with all files and directories within that directory, would be deleted with no prompt or message. | |
sudo kill `sudo lsof -t -i:9001` - kill the running instance on a port. | |
sudo chmod 770 -r /var/www/subdir - make a folder writeable. | |
Ubuntu References: | |
Firewall - https://www.digitalocean.com/community/tutorials/ufw-essentials-common-firewall-rules-and-commands |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment