linux下通過命令行獲取gmail的新郵件,不需輸入@gmail.com部分
#!/bin/bash num="\033[1;36m" end="\033[0m" read -p "Enter your mail: " name read -p "Enter pass of mail: " pass atom=`wget -qO - https://$name:$pass@mail.google.com/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)容了,希望大家能夠喜歡。
標(biāo)簽:大慶 上饒 大興安嶺 江西 三門峽 安康 遵義 仙桃
巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《linux下通過命令行獲取gmail的新郵件》,本文關(guān)鍵詞 linux,下,通過,命令行,獲取,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。