here is the code for example: 

 

#!/bin/bash
echo -e "your_password\nyour_password" | sudo /home/davidhhuan/the_shell_you_want_to_run.sh


相关文章: