cp(copy)命令可以将文
,在使用cp命令时,只需要指
8.cut
grep,egrep,fgrep命令
必要的信息。grep命令每次
命令可以检索固定字符串,
|
可以搜寻并显示特定字符串,一
只能搜索每次指定的模式;egrep
但不识别正则表达式,可作为快
|
般用来过滤显示结果,避免显示太多不
命令可以检索扩展的正则表达式;fgrep
速搜索命令。
|
[root@redhat9 etc]# grep text *.conf
|
htdig.conf:# text fr
|
om each document (this exclu
|
des any HTML markup...) If you
|
htdig.conf:# search words aren't fou
shows
|
nd in context in the stored excerpt, htsearch
|
htdig.conf:# the text defined in the
|
no_excerpt_text attribute:
|
htdig.conf:# The fol
|
lowing are used to change th
|
e text for the page index.
|
htdig.conf:# The def
|
aults are just boring text n
|
umbers. These images spice
|
htdig.conf:next_jpage_text: <img src="/htdig/buttonr.gif border=="0" align@'middle"
|
width-"30" height-"30
|
" alt=next">
|
[root@redhat9 apache]# file *
|
apache8.jpg: JPEG im
with The GIMP??", 7
|
age data, JFIF standard 1.01
2 x
|
, resolution (DPI), "Created
|
|