CentOS文件、文件夹的搜索、数据库打包、FTP检查等操作

原梓番
原梓番
管理员
827
文章
0
粉丝
常用教程1 5,923阅读模式

查找文件

find / -name 'filename'文章源自原紫番博客-https://www.yuanzifan.com/54440.html

2、查找目录文章源自原紫番博客-https://www.yuanzifan.com/54440.html

find / -name 'path' -type d文章源自原紫番博客-https://www.yuanzifan.com/54440.html

3、查找内容文章源自原紫番博客-https://www.yuanzifan.com/54440.html

find . | xargs grep -ri 'content'
//find . | xargs grep -ril 'content' 只显示文件名称文章源自原紫番博客-https://www.yuanzifan.com/54440.html

在CentOS 7x下,最后要加上分号,才能执行完成。文章源自原紫番博客-https://www.yuanzifan.com/54440.html

检查PHP版本:文章源自原紫番博客-https://www.yuanzifan.com/54440.html

php -v

检查是否安装Apache文章源自原紫番博客-https://www.yuanzifan.com/54440.html

httpd -v

查看是否安装默认的vsftp文章源自原紫番博客-https://www.yuanzifan.com/54440.html

vsftp -v

打包备份数据库:文章源自原紫番博客-https://www.yuanzifan.com/54440.html

 

站长微信
扫码添加(注明来意)
weinxin
Yuanzifan99
微信号已复制
原梓番博客公众号
博客内容精选
weinxin
原梓番博客
公众号已复制
 
    • 今日新闻 2

      文章非常好超喜欢

    发表评论

    匿名网友
    确定

    拖动滑块以完成验证