Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2085141
  • 博文数量: 194
  • 博客积分: 6450
  • 博客等级: 准将
  • 技术积分: 2085
  • 用 户 组: 普通用户
  • 注册时间: 2005-06-06 13:39
文章分类

全部博文(194)

文章存档

2013年(38)

2012年(11)

2011年(1)

2010年(1)

2009年(4)

2008年(13)

2007年(18)

2006年(63)

2005年(45)

我的朋友

分类: LINUX

2012-05-09 16:15:29

Linux 下如何挂载Windows分区
mount -t cifs -o username=adminnistrator,passwd=,iocharset=utf8 //10.9.10.37/htdocs /mnt/htdocs

动态查看文件大小以及更新时间:
watch ls -l /root/lijiabeibei.txt

MySQL添加用户:
grant all privileges on *.* to lijiabeibei@x.x.x.x identified by 'lijiabeibei.com';
FLUSH PRIVILEGES;

查看php进程,以及批量kill进程:
ps aux | grep -v php-cgi | grep -v grep | grep php
ps aux | grep -v php-cgi | grep -v grep | grep php | 1xargs kill -9

文件同步:
rsync -aq /local/file/  root@x.x.x.x:/remote/file/



阅读(942) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~