wesetup

来自「一个国外学生做的基于Web浏览器的email程序」· 代码 · 共 44 行

TXT
44
字号
#!/bin/bash#Setup program for Web E-Mail 1.1. #This program MUST be in the path.cd ~if [ ! -d ".webmail" ]then  mkdir .webmail  chmod u+rwx .webmailficd .webmailif [ ! -f "tmp" ] then  touch tmp  chmod u+rw tmpfiif [ ! -f "book" ] then  touch book  chmod u+rw bookfiif [ ! -f "gbook" ] then  touch gbook  chmod u+rw gbookfiif [ ! -f "flock" ] then  touch flock  chmod u+rw flockfi#remove old mail boxif [ -f "data" ] then  USER=`whoami`  cat data >> /var/spool/mail/$USER  rm datafi

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?