linux下通過命令行獲取gmail的新郵件,不需輸入@gmail.com部分
#!/bin/bash num="/033[1;36m"end="/033[0m" read -p "Enter your mail: " nameread -p "Enter pass of mail: " pass atom=`wget -qO - https://$name:[email protected]/mail/feed/atom / --secure-protocol=TLSv1 -T 3 -t 1 --no-check-certificate | grep / fullcount | sed -e 's/<fullcount>/(.*/)<//fullcount>//1/'` echo -e 'You have '$num$atom$end' new letters.'
以上所述就是本文的全部內(nèi)容了,希望大家能夠喜歡。
新聞熱點
疑難解答
圖片精選