摘要: 分享几个shell程序,便于linux期末复习 1.判断用户输入的数是否为回文数 1 #!/bin/bash 2 read in 3 res=`echo $in|rev` 4 if [ $res -eq $in ] 5 then 6 echo "$in is a huiwenshu!" 7 elif 阅读全文
posted @ 2019-12-26 23:23 侠客小飞 阅读(1067) 评论(0) 推荐(1)