您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678
  1. #!/bin/bash
  2. rm sendMail.sh
  3. echo "Please enter the email of your emergency contact: "
  4. read inputline
  5. printf "echo \"I fell from my bike! Please send help!\" | mail -s \"HELP\" -A \"photo.jpg\" $inputline\necho \"Email sent!\"" >> sendMail.sh
  6. chmod 755 sendMail.sh
  7. echo "Emergency contact set as \"$inputline\""