![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
soul_0
这个作者很懒,什么都没留下…
展开
-
nginx使用教程
nginx使用教程 nginx 的使用比较简单,就是几条命令。 常用到的命令如下: nginx -s stop 快速关闭Nginx,可能不保存相关信息,并迅速终止web服务。 nginx -s quit 平稳关闭Nginx,保存相关信息,有安排的结束web服务。 nginx -s reload 因改变了Nginx相关配置,需要重新加载配置而重载。 nginx -s reopen 重新打开日志文件。 nginx -c filename 为 Nginx 指定一个配置文原创 2020-11-16 21:53:39 · 96 阅读 · 0 评论 -
linux常用命令
tar 创建一个新的tar文件 $ tar cvf archive_name.tar dirname/ 解压tar文件 $ tar xvf archive_name.tar 查看tar文件 $ tar tvf archive_name.tar 更多示例:The Ultimate Tar Command Tutorial with 10 Practical Examples grep在文件中查找字符串(不区分大小写) $ grep -i "the" demo_file 输出成功匹配的行,以及该.原创 2020-11-16 21:47:29 · 63 阅读 · 0 评论