SHARE
TWEET

Untitled

a guest Aug 25th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. GNU nano 2.9.3                                                                                                   .bash_aliases                                                                                                            
  2.  
  3. alias dki='docker images'
  4. alias dkc='docker ps -a'
  5. alias dkuplog='docker-compose up -d && docker-compose logs -f'
  6. alias dkstopall='sudo docker stop $(docker ps -a -q)'
  7. alias dkrmall='sudo docker rm $(docker ps -a -q)'
  8. alias dkrmiall='sudo docker rmi $(docker images -q)'
  9. alias wholisten="sudo lsof -i -P -n | grep LISTEN"
  10.  
  11.  
  12. #!/bin/bash
  13.  
  14. # SSH SSH_CONNECTION ...
  15. alias sshcspsprod='ssh alex@37.59.248.166 -p 22222'
  16. alias sshcspsdev='ssh dokoliday@192.168.113.13 -p 22'
  17. alias sshcspsQA='ssh dokoliday@192.168.113.27'
  18. alias sshsuiviplusprod='ssh dokoliday@192.168.213.10'
  19. alias sshpi='ssh dokoliday@192.168.1.37 -p 22'
  20. alias sshdocker_31='ssh dokoliday@192.168.13.31'
  21. alias sshdocker_32='ssh dokoliday@192.168.13.32'
  22. alias sshdockeraws01='ssh -i /home/pl/Documents/docker01.pem ubuntu@34.250.16.47'
  23. alias sshsrvapps01='ssh dokoliday@37.59.248.168 -p 22022'
  24. alias sshintranetprod='ssh dokoliday@192.168.213.26'
  25. alias sshintranetpreprod='ssh dokoliday@192.168.113.26'
  26. alias sshreleveplusprod='ssh dokoliday@ns3269944.ovh.net'
  27. alias sshreleveplus2017='ssh dokoliday@192.168.213.31'
  28. alias sshtrombi='ssh dokoliday@37.187.136.173'
  29. alias sshmalbaret='ssh dokoliday@192.168.1.36'
  30. alias sshsocleQA='ssh -i ~/.ssh/SRVAWSADM01.pem -t ubuntu@34.242.86.215 "cd /home/ubuntu/dev-aws-tools ; bash"'
  31. alias sshsocleQAls='ssh -i ~/.ssh/SRVAWSADM01.pem -t ubuntu@34.242.86.215 "cd /home/ubuntu/dev-aws-tools ; bash -c \"./dev-tools.sh -l aws\""'
  32.  
  33. alias dc='docker-compose'
  34. alias  cls='printf "\033c"'
  35. function sshsocleQAApi() {
  36. ssh -i ~/.ssh/SRVAWSADM01.pem -t ubuntu@34.242.86.215 "ssh -i ~/AWS-BACK-MDB.pem ubuntu@$1";
  37. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top