摘要: 1、find ./ -name "y*" 查找以y开头的文件。 find ./ -name "*sql*" 查找包含 sql 的文件名 2、查找redis sudo find /* -name "*redis*" 3、列出gearman进程 ps -aux | grep gearman 4、查看一个 阅读全文
posted @ 2016-07-06 15:40 1678924929 阅读(421) 评论(0) 推荐(0) 编辑
摘要: /home/apache /home/www 1、cd /home/apache/vhost 2、在当前目录下,给 /home/apache/www/lxpursue/ 目录创建一个软链接 hxuser@hxuser-Vostro-3900:/home/apache/vhost$ ln -s /ho 阅读全文
posted @ 2016-07-06 14:27 1678924929 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 这两天,两次都犯了同样的错误:没有思考所看到的东西在服务器上对应的文件路径在哪里。 1、图片的URL <img height="533" width="800" src="/uploadfile/newsimg/sizec/image/01(1).jpg" alt="" /> <img alt="" 阅读全文
posted @ 2016-07-06 11:40 1678924929 阅读(248) 评论(0) 推荐(0) 编辑
摘要: #passwd some_user 修改密码 #whoami 当前用户 #ln -s /home/apache/www/lxpursue/index.php ~/symbolic.php 给index.php创建一个软链接到主目录下 。——要使用绝对路径才行~! #mv old_name new_n 阅读全文
posted @ 2016-07-06 08:51 1678924929 阅读(163) 评论(0) 推荐(0) 编辑