Skip to content

Instantly share code, notes, and snippets.

@xmeng1
Last active January 24, 2017 14:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xmeng1/4234b66cbc5fb92908e63b838b82d608 to your computer and use it in GitHub Desktop.
Save xmeng1/4234b66cbc5fb92908e63b838b82d608 to your computer and use it in GitHub Desktop.
Linux commands
#!/bin/bash
# kill 443 VMWARE
sudo fuser -k -n tcp 443
# start the nginx service
sudo systemctl start nginx.service
# alias startup="sudo sh ~/Dropbox/Deepnet/2_Linux/startup_script.sh"
echo "alias startup='sudo sh ~/Dropbox/Deepnet/2_Linux/startup_script.sh'" >> ~/.bashrc
source ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment