惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 【当耐特】
Help Net Security
Help Net Security
P
Proofpoint News Feed
J
Java Code Geeks
爱范儿
爱范儿
Last Week in AI
Last Week in AI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
F
Full Disclosure
Google DeepMind News
Google DeepMind News
H
Help Net Security
G
Google Developers Blog
Jina AI
Jina AI
Vercel News
Vercel News
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
L
Lohrmann on Cybersecurity
S
Schneier on Security
Microsoft Azure Blog
Microsoft Azure Blog
IT之家
IT之家
Security Archives - TechRepublic
Security Archives - TechRepublic
阮一峰的网络日志
阮一峰的网络日志
N
News and Events Feed by Topic
GbyAI
GbyAI
B
Blog
O
OpenAI News
博客园_首页
Cisco Talos Blog
Cisco Talos Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Hacker News: Ask HN
Hacker News: Ask HN
TaoSecurity Blog
TaoSecurity Blog
腾讯CDC
MongoDB | Blog
MongoDB | Blog
M
MIT News - Artificial intelligence
C
Cybersecurity and Infrastructure Security Agency CISA
Cyberwarzone
Cyberwarzone
Webroot Blog
Webroot Blog
Simon Willison's Weblog
Simon Willison's Weblog
Y
Y Combinator Blog
C
Cisco Blogs
A
Arctic Wolf
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
The Exploit Database - CXSecurity.com
Security Latest
Security Latest
AI
AI
W
WeLiveSecurity
aimingoo的专栏
aimingoo的专栏
The Register - Security
The Register - Security
Project Zero
Project Zero
H
Hackread – Cybersecurity News, Data Breaches, AI and More
N
Netflix TechBlog - Medium
Blog — PlanetScale
Blog — PlanetScale

博客园 - xiahaitao

Python中使用 * 处理列表 ssh-copy-id端口问题 linux下邮件查看命令 账户家目录修复过程 CCNA Day3 CCNA Day2 CCNA Day1 linux下创建用户并设置密码 国内常用NTP服务器地址及IP 虚拟光驱导致无法安装光驱驱动的解决方法 Centos语言问题 cactil安装--解决缺少snmpwalk包的问题 华为S5300交换机里的,有啥用? vim替换字符串指令 用linux做双线接入的路由器 intel显卡linux驱动 cacti安装完后就停留在登陆界面,输入默认的用户名密码登陆不进去! sftpd 启动 报错: vsftpd:500 OOPS: bad bool value in config file for: anonymous_enable Linux iptables配置FTP的主动和被动模式
使用grep查找文件并输出
xiahaitao · 2012-09-10 · via 博客园 - xiahaitao

将http.conf中含有#的行输出:

grep "#" httpd.conf >1.txt

将http.conf中不含有#的行输出:

grep -v  "#" httpd.conf >2.txt

posted @ 2012-09-10 19:53  xiahaitao  阅读(1756)  评论(0)    收藏  举报