lsof 列出进程打开的文件信息

Publish: November 26, 2012 Category: Shell No Comments

lsof:
-a: 可以将多个选项的组合由或变为与

# 如 lsof -u root -c httpd(列出以root和httpd打开的所有文件)
# lsof -a -u root -c http(列出以root并且httpd打开的文件)

阅读剩余部分...

mysql 添加授权

Publish: November 26, 2012 Category: MySQL 15 Comments

# 用户名: auth
# 密 码: abc
# 授权给: 203.81.18.67

grant all privileges on *.* to auth@'203.81.18.67' identified by 'abc';
flush privileges;

欢迎使用Typecho

Publish: November 26, 2012 Category: 默认分类 17 Comments

如果您看到这篇文章,表示您的blog已经安装成功.