unix shell
摘要:1、#!/bin/bash 2、readonly可以将变量定义为只读变量 3、unset删除变量 unset variablename;变量被删除后不能再次使用;unsert不能删除只读变量 4、字符串可以用单引号或双引号,双引号可以使用变量,也可以用转义字符 5、获取字符串长度,在变量名前加#,即
阅读全文
posted @ 2021-03-16 15:40
posted @ 2021-03-16 15:40
posted @ 2021-03-05 14:52