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
# cope date to clipboard which can be used for ctrl+v | |
date | xclip -selection clipboard | |
# filter port | |
sudo netstat -nlp | grep 443 | |
# start/stop/restart service | |
sudo systemctl start nginx.service | |
sudo systemctl restart nginx.service | |
sudo systemctl stop nginx.service | |
sudo systemctl status nginx.service |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<Response> | |
<Say voice="alice" >Hello, {{Name}}.Your one time password is {{Code}}</Say> | |
</Response> |
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
#!/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 |
NewerOlder