Linux unset命令用法详解
Linux unset命令 Linux unset命令用于删除变量或函数。 unset为shell内建指令,可删除变量或函数。 语法 unset [-fv][变量或函数名称] 参数: -f 仅删除函数。 -v 仅删除变量。 实例 删除环境变量 [root@runoob.com ~]# lx=ls -lh //设定环境变量 [root@runoob.com ~]# $lx //使用环境变量 总用量 116K -rw-r--r-- 1 root root 2.1K 2008-03-30 anaconda-ks.cfg drwx------ 3 root root 4.0K 3月 30
下载地址
用户评论