linux
西乡书生
战胜自己
展开
-
iptables的备份和回复
[code="java"] 备份iptables:iptables-save > /root/working.iptables.rules 恢复iptables:iptables-restore < /root/working.iptables.rules 清除iptables:iptables -F 源地址:http://club.topsage.com/thread-345946-...原创 2014-05-06 21:06:30 · 104 阅读 · 0 评论 -
linux 日志保存到文件函数同时还可以显示在屏幕上
[code="java"] set_log() { LOGFILE=${LOGFILE:-contrail.log} VERBOSE=${VERBOSE:-True} if [[ -n "$LOGFILE" ]]; then # Redirect output according to config ...原创 2014-03-29 16:44:00 · 461 阅读 · 0 评论 -
linux shell read 使用
[url]http://www.linuxidc.com/Linux/2013-01/77875.htm[/url]原创 2014-03-29 09:51:48 · 106 阅读 · 0 评论 -
ubuntu 利用apache制作源服务器
假如你的apache 服务器的ip是 172.16.56.155 [code="java"] 1. 在apache的httpd.conf中添加 ServerName 172.16.56.155 NameVirtualHost 172.16.56.155 ServerName 172.16.56.155 DocumentRoot /var/www...原创 2014-03-26 17:46:48 · 161 阅读 · 0 评论 -
linux shell 脚本指导文档 十分好
[url]http://mprc.pku.edu.cn/mentors/training/TrainingCourses/material/ShellProgramming.HTM[/url]原创 2014-02-26 12:05:48 · 78 阅读 · 0 评论 -
linux sed的使用
[url]http://www.cnblogs.com/shineshqw/articles/1978122.html[/url]原创 2014-02-20 09:38:28 · 50 阅读 · 0 评论 -
vi 快捷键
[url]http://www.cnblogs.com/welkinwalker/archive/2010/05/14/1735805.html[/url]原创 2014-01-23 16:55:35 · 52 阅读 · 0 评论 -
linux 网卡信息的比较全的手机
[url]http://blog.csdn.net/zhaozhanyong/article/details/5704706[/url]原创 2014-05-27 11:47:58 · 136 阅读 · 0 评论 -
iperf 的详细说明
[url]http://wenku.baidu.com/view/d54c0c0f844769eae009eda6.html[/url]原创 2014-05-21 20:57:22 · 154 阅读 · 0 评论 -
KVM基本应用
[url]http://linux.cn/home-space-uid-4672-do-blog-id-5793.html[/url]原创 2014-01-07 18:26:21 · 109 阅读 · 0 评论 -
linux 建立软连接和删除软连接方法
[url]http://www.cnblogs.com/xiaochaohuashengmi/archive/2011/10/05/2199534.html[/url] [code="java"] 建立软连接 [[email protected] test]# ls -il 总计 0 1491138 -rw-r–r– 1 root root 48 07-14 14:17 file1 1...原创 2014-05-14 15:24:06 · 2492 阅读 · 0 评论 -
vim的高级设置
[url]http://alfalfa.1984.blog.163.com/blog/static/1025065320107171123285/[/url] [url]http://www.baidu.com/#wd=python%20nmap%20%3CF4%3E%20%3Alv%20%2F%3Cc-r%3E%3Dexpand%28%22%3Ccword%3E%22%29%3Ccr%...原创 2014-04-03 14:42:44 · 99 阅读 · 0 评论