📄 sendsms
字号:
#!/bin/sh# This script send a text sms at the command line by creating# a sms file in the outgoing queue.# I use it for testing.# $1 is the destination phone number# $2 is the message text# if you leave $2 or both empty, the script will ask youDEST=$1TEXT=$2if [ -z "$DEST" ]; then printf "Destination: " read DESTfiif [ -z "$TEXT" ]; then printf "Text: " read TEXTfiFILE=`mktemp /var/spool/sms/outgoing/send_XXXXXX`echo "To: $DEST" >> $FILEecho "" >> $FILEecho -n "$TEXT" >> $FILE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -