Author: @n4ckhcker & @h4d3sw0rm Introduction Hello, so first of all let’s explain what is a restricted shell ? A restricted shell is a shell that block/restricts some of the commands like cd,ls,echo etc or "block" the environment variables l
第十六章 shell脚本介绍 此章节内容较为简单,跳过. 第十七章 条件測试 test命令 expr命令 test 格式 test condition 或者 [ condition ] (注意: condition两側有空格) 文件状态測试: - d 文件夹 . - s 文件长度大于0.非空 : - f 正规文件 - w 可写 . - L 符号连接 : - u 文件有s u i d位设置 - r 可读 : - x 可运行 測试的逻辑操作符: -a :逻辑与.操作符两边