摘要:
ls ls -li 查看当前目录下所有目录 ls -al 查看当前目录下所有目录包括隐藏文件 CD cd 目录 跳转指定目录 cd ..返回上级目录 cd / 返回根目录 VI 1、 使用vi进入一般模式 vi test.txt 直接输入“vi+文件名”即可进入vi一般模式 2、 按下i进入编辑模式 阅读全文
摘要:
1. nginx A. # vi /etc/init.d/nginx B. #!/bin/sh # Comments to support chkconfig on RedHat Linux # chkconfig: 2345 65 37 # description: A nginx daemon. 阅读全文