
linux
wl_1314
这个作者很懒,什么都没留下…
展开
-
Shell 语言中的if elif else
一、if的基本语法:if [ command ]then符合该条件执行的语句elif [ command ]then符合该条件执行的语句else符合该条件执行的语句fielif可以嵌套多个[]里边必须要加空格,必须要写成if_[条件];then,其中_代表空格二、字符串判断[ -z STR ] 当STR的长度为0则为真 ,即判断是否为空,空即是真(空串);[ -n ST...原创 2020-02-11 16:00:21 · 1324 阅读 · 0 评论 -
Centos7 ssh
Centos7 ssh欢迎使用Markdown编辑器欢迎使用Markdown编辑器computer A remote access computer Bcomputer A 192.168.1.16computer B 192.168.1.19run following command install ssh server on computer A and Byum install ...原创 2020-01-01 23:19:39 · 198 阅读 · 0 评论