Linux:启动http服务 1、安装apache yum install httpd #根据提示,输入Y安装即可成功安装 systemctl start httpd.service #启动apache systemctl stop httpd.service #停止apache systemctl Read More
posted @ 2019-11-25 15:33 云计算(互联网) Views(462) Comments(0) Diggs(0) Edit
Linux find命令详解 由于find具有强大的功能,所以它的选项也很多,其中大部分选项都值得我们花时间来了解一下。即使系统中含有网络文件系统( NFS),find命令在该文件系统中同样有效,只你具有相应的权限。 在运行一个非常消耗资源的find命令时,很多人都倾向于把它放在后台执行,因为遍历一 Read More
posted @ 2019-11-25 10:54 云计算(互联网) Views(259) Comments(0) Diggs(0) Edit
一. find的基本查询命令 find命令最常用的是查找某个文件,如: find ./ -name "abc.txt" 则会在当前目录及子目录下查找abc.txt文件 更常用的是查找某一类型的文件,如: find ./ -name "*.txt" 则会在当前目录及子目录下查找所有txt文件,但是如果 Read More
posted @ 2019-11-25 10:39 云计算(互联网) Views(448) Comments(0) Diggs(0) Edit