Advertisement
Guest User

Untitled

a guest
Jun 30th, 2016
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. ssh -i ~/.vagrant.d/insecure_private_key 192.168.100.109 <<- ENDSSH > test.txt
  2. mysqldump -h0.0.0.0 -uroot -proot -d mystore2 mysql -h0.0.0.0 -uroot -proot -D mystore2 -Bse "SHOW TABLES LIKE 'chips_%'"
  3. ENDSSH
  4.  
  5.  
  6. ssh -i ~/.vagrant.d/insecure_private_key 192.168.100.109 '
  7. HOST=0.0.0.0
  8. USERNAME=root
  9. PASSWORD=root
  10. DATABASE=mystore2
  11.  
  12. mysqldump -h0.0.0.0 -uroot -proot -d $
  13.  
  14. TABLE="something"
  15. echo $TABLE
  16. '
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement