您现在的位置是:网站首页> 编程资料编程资料
linux下通过命令行获取gmail的新邮件_linux shell_
2023-05-26
534人已围观
简介 linux下通过命令行获取gmail的新邮件_linux shell_
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>/\1/'` echo -e 'You have '$num$atom$end' new letters.'
以上所述就是本文的全部内容了,希望大家能够喜欢。
您可能感兴趣的文章:
相关内容
- linux下使用rinetd来实现端口转发_linux shell_
- Centos下查看网卡的实时流量命令_linux shell_
- Linux 中 CURL常用命令详解_linux shell_
- 零基础入门篇之Linux及Arm-Linux程序开发笔记_linux shell_
- Linux下使用tcpdump抓包的实现方法_linux shell_
- linux shell 管道命令(pipe)使用及与shell重定向区别_linux shell_
- linux shell数据重定向(输入重定向与输出重定向)详细分析_linux shell_
- linux shell 脚本实现tcp/upd协议通讯(重定向应用)_linux shell_
- linux shell实现随机数几种方法分享(date,random,uuid)_linux shell_
- linux shell命令快捷获得系统帮助(一)[man-pages定义规范]_linux shell_
