sunln00 2020-05-01
创建新文件:touch test.sh
添加可执行权限:chmod +x test.sh
编辑文件:gedit test.sh
输出命令:echo "hello world"
正常退出:exit 0
给命令起别名:alias hello="echo ‘hello world‘"
撤销别名:unalias hello
取命令执行结果:echo "the current directory is $(pwd)" | echo "the current directory is `pwd`"
<?php. if (!empty($_POST)) {. $data1 = $_POST["data1"];$data2 = $_POST["data2"];$fuhao = $_POST["fuh
test-f /etc/resolv.conf &&echo"File /etc/resolv.conf found."||echo"File /etc/resolv.conf not found."