随笔分类 -  Linux

摘要:grep-n, --line-number-E, --extended-regexp (相当于egrep)-i, --ignore-case-R, -r, –recursive -w, --word-regexpgrep.exe [OPTION]... PATTERN [FILE]...其实grep如果搜索一个文件内容可以用emacs内部的搜索,grep的好处是可以搜索多个文件,例如: grep –nH –e main *.c *.cppCASE 1: 在某目录中搜索键字(不递归),用emacs的grep命令 CASE 2: 在某目录中搜索键字(递归),用emacs的grep-fi... 阅读全文
posted @ 2012-08-24 13:58 Fan Zhang 阅读(428) 评论(0) 推荐(0)
摘要:小巧精悍型的: x-win32 xmanager X! Extra VNC 航空母舰级的: Exceed 阅读全文
posted @ 2012-06-20 14:41 Fan Zhang 阅读(341) 评论(0) 推荐(0)
摘要:1. 修改/et/my.conf 将 skip-networking 注释掉(前面加#) 2. 进入mysql命令行 mysql> grant all privileges on *.* to Jeson@'192.168.1.132' identified by 'JesonLMilly'; mysql> flush privileges; 这个就是让ip地址为&qu... 阅读全文
posted @ 2010-03-12 17:37 Fan Zhang 阅读(102) 评论(0) 推荐(0)
摘要:Brctl command From DD-WRT Wiki Jump to: navigation, search You are here: DD-WRT wiki mainpage / Scripting / SSH/Telnet & The CLI / brctl BRCTL is used to create a bridge between two interfaces.... 阅读全文
posted @ 2010-03-02 15:43 Fan Zhang 阅读(371) 评论(0) 推荐(0)
摘要:主要命令为brctl 1、创建网桥设备 br0:  brctl addbr br0 2、向br0中添加网卡 eth0  eth1                     &#... 阅读全文
posted @ 2010-03-02 15:41 Fan Zhang 阅读(849) 评论(0) 推荐(0)