2019年2月20日

shell中的变量

摘要: 一、系统变量 常用系统变量 查看变量值 显示当前Shell中所有变量 二、自定义变量 1. 基本语法 定义变量:变量=值(=两边没有空格) [root@slave2 testshell]# W=10 [root@slave2 testshell]# echo $W 10 撤销变量:unset 变量 阅读全文
posted @ 2019-02-20 20:48 0x153_小波 阅读(166) 评论(0) 推荐(0) 编辑