欢迎光临
感谢一路有你

Shell编程

shell学习初体验

王明昌阅读(1795)赞(0)

<code class="">centos7支持的shellcat /etc/shellsc7默认shellecho $SHELL/bin/bashshell变量1. 全局变量(环境变量)...

shell学习 基础(2)linux权限

王明昌阅读(1678)赞(0)

<!-- 权限 --> 用户权限 drwxr-xr-x root root -rw-r--r-- root root 解析: d 目录 - 文件 root 用户 root 用户组 rw- root所有者 r-- root所属组 ...

shell学习 基础(1)

王明昌阅读(1555)赞(0)

<!-- for循环简单实例 --> #!/bin/bash #for.sh for i in a b c d do echo $i sleep done 设置权限 chmod a+x for.sh 不设去权限使用 bash ....

shell脚本编程学习笔记(三)权限分配

王明昌阅读(1738)赞(0)

文件或目录(普通文件)  ——chmod   scl 用户对某个程序或某个应用脚本——-sudo   chmod 不能实现权限细化问题 1.数字权限分配 chmod 755 file...