Guest User

Untitled

a guest
Dec 1st, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. process_that_needs_credentials & # start in the background
  4. # the script will continue immediately
  5.  
  6. sleep 2
  7. read -rp "username: " username
  8. read -rp "password: " password
  9.  
  10. (
  11. echo "$username"
  12. echo "$password"
  13. ) > credentials.txt
Add Comment
Please, Sign In to add comment