Linux ɮ׻Pؿ޲z
wA@As峹аѦ o oI
̪sG2004/03/15
ؿP|G ۹|P|, cd, pwd, mkdir, rmdir, ܼPATH,
ɮ׻Pؿ޲zG ls, cp, rm, mv, basename, dirname,
[ɮפeG cat, tac, more, less, head, tail, nl, od,
ɮ׻PؿvG chown, chmod, umask, chattr, lsattr,
jMɮשΥؿG which, whereis, locate, find,
SetUID, SetGID, Sticky bit P file OG
Dm

ؿP|G
ѫe@`yLinux ɮvPؿtmzAѨ Linux y𪬥ؿzAUӴNonڪӷdw@ǰ򥻪|DFIoǰDA̭nLy|zPy۹|zNqաIAѤ@UI

ɮ׻Pؿ޲zG
ͤFͥؿP|AAӰQפ@Uɮת@ǰ򥻺޲zaIɮ׻Pؿ޲zWA~GyݩzByzByzΡyɮשΥؿzAѩɮ׻Pؿ޲zb Linux OܭnIרOCӤHۤvaؿƤ]ݭn`N޲zIѩڭ̦b{ɫAtιw]@ӷjM|ǡApGӥHWۦPɦWɤObP|ɡAANݭnSOdNoIo̧ڭ̨ӽͤ@ͦɮ׻Pؿ@ǰ¦޲zaI
ls ɮצW١Bݩʵ
cp ɮשΥؿ
rm RɮשΥؿ
mv ɮשΥؿ
@

  • ls

  • ykG
    [root @test /root ]# ls [-ailS]
    ѼƻG
    -a       :ɮ׳CX]sPɡ^
    -i       :LX inode
    -l       :CXAsPɮפjpƵ
    -S       :HɮפjpƧ
    --color=never     :nC
    --color=always    :C
    --color=auto      :ѨtΦۦP_I
    dҡG
    [root @test /root]# ls -al
    total 48
    drwxr-x---    4 root     root         4096 Mar 10 00:37 .
    drwxr-xr-x   21 root     root         4096 Mar 10 20:16 ..
    -rw-------    1 root     root          524 Mar 10 00:40 .bash_history
    -rw-r--r--    1 root     root           24 Jun 11  2000 .bash_logout
    -rw-r--r--    1 root     root          266 Jun 11  2000 .bash_profile
    -rw-r--r--    1 root     root          249 Mar  6 20:50 .bashrc
    -rw-r--r--    1 root     root          210 Jun 11  2000 .cshrc
    drwx------    2 root     root         4096 Mar  9 11:06 .gnupg
    -rw-------    1 root     root          524 Jan 16 14:37 .mysql_history
    drwx------    2 root     root         4096 Mar  9 11:06 .ssh
    -rw-r--r--    1 root     root          196 Jul 11  2000 .tcshrc
    -rw-r--r--    1 root     root         1126 Aug 24  1995 .Xresources
    [root @test /]# ls
    bin   dev    etc   lib         misc  opt   root  tftpboot  usr
    boot  disk1  home  lost+found  mnt   proc  sbin  tmp       var
    [root @test /]# ls --color=never
    bin   dev    etc   lib         misc  opt   root  tftpboot  usr
    boot  disk1  home  lost+found  mnt   proc  sbin  tmp       var
    [root @test /]# ls -al|more
    G
    ٰOoڭ̦bɮת@ݩʻPؿc@ܡHIաIڭ̨ϥΪĤ@ONO ls աIq`ڭ̳ݭnDoɮצW١yؿz٬OyɮסzHҥHAڳwϥΡy llzoӫOA꨺NOls -l NաIצpAAiHյ۰oOӵAɮסI
    @
    Ъ`NInѰOAƪDnNNIרOeXӥDnݩIt~AASo{pGbݥH telnet Ϊ̬O putty su{nJDɫAѩ Linux w]ϥΦC⪺觋ܤ觋AOW@ˡAŦ⪺rˮڥNOݨIoӮɭԳq`ڳOϥΡyls --color=never zӥᱼCIpGQ ls w]SC⪺ܡAiHb /root/.bashrc Ϊ̬OAaؿ .bashrc oɮפ[JUo@G
    alias ls='ls --color=never'
    o˴NiHChFIܩ alias ObFHڭ̨F bash o shell ɭԦAӽͧaI
    @

  • cp

  • ykG
    [root @test /root ]# cp [-drsu] [ӷ] [ت]
    ѼƻG
    -d@@@@@Gbi copy ɭԡApGO copy link ɮסAY[ѼơAhw]p|N link 쪺lɮ
    @@@@@@@copy تaAY[ -d ɡAh link ɮץiʤʪN link oӱ|تaI
    -r@@@@@GiHiؿ copy I
    -s          GsɡAӤ copy NIP ln OۦP\I
    -u, --updateGpGӷɤsAΪ̬OSتɡA~|i copy ʧ@IiΩƥʧ@I
    dҡG
    [root @test /root]# cp    .bashrc bashrc      <==N .bashrc bashrc oɮסI
    [root @test /root]# cp -r /bin /tmp/bin        <==oӥ\NnաIoOΨ copy ӥؿѼơI
    [root @test /root]# cp -s .bashrc bashrc         <==N .bashrc إߤ@ӳsɡAɦW bashrc
    [root @test /root]# cp -u /home/.bashrc .bashrc  <==ˬd /home/.bashrc O_P .bashrc PApGPܴN}l copy @IpGۦPhʧ@I
    G
    oӫO|`Ψ쪺I]ڭ̱o``ݭn copy ƧrIҥHݭnAѤ@UIpGAǫܤjɮתݭnƥAoɮתsvܧCACƥݭnb copy @ܡHݨӬOݭnFIAiHϥΡycp -u ӷ تzӳƥIp@ӡAɮ׳QܹLA~|i copy ʧ@I
    @

  • rm

  • ykG
    [root @test /root ]# rm [-fir] [ɦW]
    ѼƻG
    -i     :ѨϥΪ̽T{]oOw]ȡ^
    -r     :`ANO@ASF謰N
    -f     :force ANOjOաI
    dҡG
    [root @test /root]# cp .bashrc bashrc<==إߤ@ӷsɮסA bashrc
    [root @test /root]# rm bashrc           <==|ܦpUܡG
    rm: remove `bashrc'?
    [root @test /root]# mkdir testing
    [root @test /root]# cp .bashrc testing
    [root @test /root]# rmdir testing
    rmdir: `testing': Directory not empty   <==ѩ testing ̭ .bashrc AҥH夣I
    [root @test /root]# rm -rf testing      <==RӥؿUҦɮ׻Pؿ
    G
    oOOA۷ dos U del OIo̭n`NOAq`b Linux tΤUAFɮ׳Q~AҥHwg -i oӰѼơA -i OCɮ׳Qe|ϥΪ̽T{@AHw~ɮסIӦpGnsؿUF卖@_ܡAҦplؿ̭٦lؿɡANnϥ -rf oӰѼƤFILAϥΡy rm -rf zoӫOeAФdU`NFA]Aӥؿɮסy֩wz|Q root I]tΤ|A߰ݧAO_n屼I ҥHOӶWYOUFIoSO`NILApGATwӥؿnFAϥ rm -rf Ӵ`O觋I
    @

  • mv

  • ykG
    [root @test /root ]# mv [-u] [ӷ] [ت]
    ѼƻG
    -u   :P˪A update ²gAӷɤتٷsɫ~|ʧ@I
    dҡG
    [root @test /root]# cp .bashrc bashrc
    [root @test /root]# mv bashrc bashrc.old
    [root @test /root]# mv bashrc bashrc2 /tmp<==N bashrc P bashrc2 ʨ /tmp oӥؿUIЪ`NA̫@Ӥ~O̲תؼСALO SOURCE
    G
    oOhNIAnɮשΥؿɫAIoӫONܭnաIP˪AA]iHϥ -u ( update )ӴշsɮסAݬݬO_ݭnhoIt~@ӥγ~NOyܧɦWIzAڭ̥iHܻϥ mv ܧ@ɮתɦWOI
    @

  • basename

  • ykG
    [root @test /root ]# basename [ؿ]
    ѼƻG
    dҡG
    [root @test /root]# basename /usr/local/etc
    etc
    oӫO|N᭱[ؿ]^X̫᭱ӥؿɮסA
    HWҤlӬݡA /usr/local/etc etc OؿɮסA
    L|Q^XӡA]LO̫@ӥX{NNI
    G
    oӫOᦳINLiHN@ӥؿɮת̫@өNNqXӡIҥHAӦpGAnϥܼơAåBX̫@Ӹ(׬Oɮ٬Oؿ)AϥγoӪNNաI ^_^
    @

  • dirname

  • ykG
    [root @test /root ]# dirname [ؿ]
    ѼƻG
    dҡG
    [root @test /root]# dirname /usr/local/etc
    /usr/local
    P basename ۤϡALȬOqXӫeyؿzI
    G
    oӫOP basename ۤϪաIIܦnaIo]̱`Φbڭ̲ĤTn Shell DzߤIγ̦haӬO scripts աIγo_J^ƪeIΪܡI

    [ɮפeGcat, tac, more, less, head, tail, nl,
    ڭ̴쪺uObɮת~[AΪ̬OʻPƻs@ɮשΥؿӤwApGڭ̭n@ɮתeɡAӦpOnOHIo̦۷h쪺OiHӤɤ@UG̱`ϥΪɮפeOiHO cat P more less FI~ApGڭ̭ndݤ@ӫܤjɮס]nXMBɡ^AOڭ̥uݭnݪXrӤwAӦpOnHI tail rA~A tac oӫO]iHFInFAUӫOγ~aI
    cat  ѲĤ@}lɮפe
    tac  q̫@}lܡAiHݥX tac O cat ˵ۼgI
    more @@ɮפe
    less P more AO more nOALiHe½I
    head uYX
    tail uݧڴX
    nl   ܪɭԡADX 渹I
    od   HGi쪺觋ŪɮפeI
    Uڭ̨ӽͤ@ͨCӫO򥻥ΪkaI

  • cat

  • ykG
    [root @test /root ]# cat [-nAE]
    ѼƻG
    -n:   ܮɡAs渹LXùWC
    -A:   N DOS U <tab> P_rųCXӡI
    -E:   N DOS s𫍧󤤡AȦCX _rťXӡI
    dҡG
    [root @test /root]# cat ~/.bashrc         <== .bashrc oɮ
    # .bashrc

    # User specific aliases and functions
    PATH="/bin:/sbin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:$PATH"
    alias rm='rm -i'
    alias cp='cp -i'
    alias mv='mv -i'
    alias ll='ls -l --color=never'

    [root @test /root]# cat ~/.bashrc -n      <== .bashrc åB[W渹I
         1  # .bashrc
         2
         3  # User specific aliases and functions
         4  PATH="/bin:/sbin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:$PATH"
         6  alias rm='rm -i'
         7  alias cp='cp -i'
         8  alias mv='mv -i'
         9  alias ll='ls -l --color=never'

    [root @test /root]# cat -A regexp.txt
    This is a cat, however, I need a dog.^M$
    I want to "Happy" and <Happy> and /Happy/ here.^M$
    OK! ^Ieverythins is OK^M$
    Now, I will eat my food^M$
    are you ^Ifinished your work^M$
    what do you 123 goto where^M$
    ܥX DOS ɮתXӯSŸAHWɮ׬ҡA
    io{ ^M _ŸAӨC檺 $ ŸA
    ܩ ^I hO <tab> աI 

    G
    KKI Linux ̭yߡzHIIOA cat O Concatenate ]s^²gADn\ON@ɮתes򪺦LXbùWIҦpWҤlAڭ̱NnѼ .bashrc LXӡIpG[W -n ܡAhC@eٷ|[W渹Icat ֥ΡIAɮפeƶWL 40 HWAKKIڥӤάݡIҥHAtX more Ϊ̬O |more ӰnI~ApGO@몺 DOS ɮ׮ɡANݭnSOdN@ǩ__ǩǪŸFAҦp_P<tab>AnܥXӡANo[J -A ѼƤFIC
    @

  • tac

  • ykG
    [root @test /root ]# tac [ɦW]
    ѼƻG
    dҡG
    [root @test /root]# tac ~/.bashrc <==o{FSHϦVLXI
    fi
            . /etc/bashrc
    if [ -f /etc/bashrc ]; then
    # Source global definitions

    alias h='history'
    alias lm='ls -al|more'
    alias ll='ls -l'
    # alias ll='ls -l --color=never'
    alias mv='mv -i'
    alias cp='cp -i'
    alias rm='rm -i'

    export PATH
    PATH="/bin:/sbin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:$PATH"
    # User specific aliases and functions

    # .bashrc

    G
    tac oӦnFI򻡩OHԲӪݤ@UA cat P tac ASo{rIաI tac nON cat ϼgLӡAҥHL\N cat ۤϰաA cat OѡyĤ@̫@sܦbùWzA tac hOyѳ̫@Ĥ@ϦVbùWܥXzAܦnaI
    @

  • more

  • ykG
    [root @test /root ]# more [ɦW]
    ѼƻG
    dҡG
    [root @test /root]# more ~/.bashrc  <==@@ɮפe
    [root @test /]# ls -al | more <==@@N ls eܥX
    G
    more uOӫܦΪOIڦnwIAɮפӤjɫAϥ cat NSkݲMIoӮɭԧAiHϥ more Ӱʧ@Imore ]iHΨӰ޽uPɰ椧ΡIҦpAb find oӴM䪺OɡAiHPɨϥ |more AhjMGiH@@CXI޽u( pipe )Ϊkڭ̦b bash shell aAӽ͡I
    @

  • less

  • ykG
    [root @test /root ]# less [ɦW] 
    ѼƻG 
    dҡG 
    [root @test /root]# less ~/.bashrc 
    G
    less Ϊk_ more S[uʡA򻡩OHb more ɭԡAڭ̨èSkVe½Au੹᭱ݡAYϥΤF less ɡAINiHϥ [pageup] [pagedown] 䪺\өe½ݤAz@AOOeϥΨ[ݤ@ɮתeFOIH
    @
    more P less γ~PΪkuOܼsաIAAiHb more P less eiyjMzu@IpiOHڭ̥H less ӻnFApGAQnD /etc/man.config oɮ׸̭S@ӥs GER jgrAiHG
    @
    [root @test /root ]# less /etc/man.config 
    仡G
    /wordGb /etc/man.config oɮפjM word oӦrꪺҦb
    q    G} less e
    @
    MbJ / Aз|ʨ̥UݿJAoӮɭԱzunJArꤧAN|۰ʪAXӸroI
    @

  • head

  • ykG
    [root @test /root ]# head [-n number] [ɦW]
    ѼƻG
    -n G number
    dҡG
    [root @test /root]# head ~/.bashrc  <==w]pUAYQ
    [root @test /root]# head -n 20 ~/.bashrc<==YGQI
    G
    head ^NNOyYzաAoӪF𫍧Ϊk۵MNOܥX@ɮתeXoISINOoˡIYS[W -n oӰѼƮɡAw]uܤQAYun@OHN[Jy head -n 1 filename zYiI
    @

  • tail

  • ykG
    [root @test /root ]# tail [-n number] [ɦW]
    ѼƻG
    -n G number
    dҡG
    [root @test /root]# tail ~/.bashrc
    [root @test /root]# tail -n 5 ~/.bashrc <==u̫ܳ᭱I
    G
    head ۵MN tail ( ) oISIo tail Ϊk head ΪkthAuOܪO᭱XNOFIw]]OܤQAYnܫDQAN[ -n number ѼơI
    @
    D@GpڷQn ~/.bashrc 11 20 OH
    G
    oӤAQ@QAb 11 20 Aڨe 20 AAQAҥHGNOGy head Vn 20 ~/.bashrc | tail Vn 10 zAo˴NiHo 11 20 椧eFIO̭AΨ޽uROAݭnbĤTgɭԤ~I
    @

  • nl

  • ykG
    [root @test /root ]# nl [ɦW]
    ѼƻG
    dҡG
    [root @test /root]# nl ~/.bashrc
    G
    nl SOHo]SAoӫOΪk cat -n ΪkA]NOyiHLX渹zOӬdɮװաI]OnΪI
    @

  • od

  • ykG
    [root @test /root ]# od [ɦW]
    ѼƻG
    dҡG
    [root @test /root]# od ~/.bashrc
    0000000 020043 061056 071541 071150 005143 021412 052440 062563
    0000020 020162 070163 061545 063151 061551 060440 064554 071541
    0000040 071545 060440 062156 063040 067165 072143 067551 071556
    0000060 050012 052101 036510 027442 064542 035156 071457 064542
    0000100 035156 072457 071163 071457 064542 035156 072457 071163
    0000120 061057 067151 027472 071565 027562 067554 060543 027554
    0000140 061163 067151 027472 071565 027562 067554 060543 027554
    0000160 064542 035156 050044 052101 021110 062412 070170 071157
    0000200 020164 040520 044124 005012 066141 060551 020163 066562
    0000220 023475 066562 026440 023551 060412 064554 071541 061440
    0000240 036560 061447 020160 064455 005047 066141 060551 020163
    0000260 073155 023475 073155 026440 023551 021412 060440 064554
    0000300 071541 066040 036554 066047 020163 066055 026440 061455
    0000320 066157 071157 067075 073145 071145 005047 066141 060551
    0000340 020163 066154 023475 071554 026440 023554 060412 064554
    0000360 071541 066040 036555 066047 020163 060455 076154 067555
    0000400 062562 005047 066141 060551 020163 036550 064047 071551
    0000420 067564 074562 005047 021412 051440 072557 061562 020145
    0000440 066147 061157 066141 062040 063145 067151 072151 067551
    0000460 071556 064412 020146 020133 063055 027440 072145 027543
    0000500 060542 064163 061562 056440 020073 064164 067145 004412
    0000520 020056 062457 061564 061057 071541 071150 005143 064546
    0000540 000012
    0000541
    G
    nFApG@ӫD ASCII ɮשOHҦp binary ɮסIϥ vi ڥNOݤۡoӮɭԬݨӥuϥαNӸƥHƭȤkŪXӰաINO od oӫOŪXIoӪFiHΨӿXӸƬQiB16i쵥Ʈ榡ILoӪFu{viΰաI]LXӪF卖OƦrΰOơ

    ɮ׻PؿvG
    Linux ɮݩ eڭ̥iHD@ɮצYzݩʡA]A ( r, w, x ) ݩʡAάO_ؿ (d) Pɮ (-) Ϊ̬Os (l) ݩʡInקݩʪkbe]LFAo̦A[jɥR@UI~Aѩ Linux ٥iH]wLtΦwݩʡAϥ chattr ӳ]wAӥH lsattr ӬdݡA̭nݩʴNOiH]w䤣iק諸SʡIsɮת֦̳iקIoݩʥiO۷nAרObwW] security ^I
    chown ɮת֦H
    chgrp ɮתݸs
    chmod ɮתigBiŪBi浥ݩ
    umask ܹw]إɮשΥؿɪݩ
    chattr ɮתSݩ
    lsattr ɮתSݩʡI

    jMɮשΥؿG
    ɮתjMiNF`FI]ڭ̱``ݭnDɮשb̡AҥHӽͤ@ͫjMaIb Linux U]۷ujMtIq` find ܱ`ΪI]t׺C~A]ܾ޵wСIq`ڭ̳Oϥ whereis Ϊ̬O locate ˬdApGu䤣FA~H find ӷjMIOH] whereis P locate OQθƮwӷjMơAҥH۷ֳtAӥBèSڪjMwСAٮɶաI
    which   dݥiɮתm
    whereis dɮתm
    locate  tXƮwdɮצm
    find    ڷjMwХhdɮצW

  • which

  • ykG
    [root @test /root ]# which  [ɮצW]
    ѼƻG
    dҡG
    [root @test /root]# which passwd
    /usr/bin/passwd
    G
    which 򥻥\Oyǥ PATH oܼƪeAhӸ|MiɡzAҥH򥻪\byMzoI
    @

  • whereis

  • ykG
    [root @test /root ]# whereis [-bmsu] [ؿW]
    ѼƻG
    -b    :u binary ɮ
    -m    :ub manual |Uɮ
    -s    :u source ӷɮ
    -u    :SɪɮסI
    dҡG
    [root @test /root]# whereis passwd
    passwd: /usr/bin/passwd /etc/passwd /usr/share/man/man1/passwd.1.bz2
    N passwd rɮשΥؿCXӡI

    [root @test /root]# whereis -b passwd
    passwd: /usr/bin/passwd /etc/passwd
    ȦCXbinary ɮסI

    [root @test /root]# whereis -m passwd
    passwd: /usr/share/man/man1/passwd.1.bz2
    ȷjM man page ҦbؿI

    G
    pGϥ find ӳ·СAӥBɶΪܤjI]]pGAwФªܡAKKII^oӮɭ whereis N۷nΤFIt~A whereis iH[JѼƨӧMơAҦppGAOniɡ] binary ^[W -b NiHաIҦpWdҰw passwd o{ӻIpG[ѼƪܡANNҦƦCXoI whereis 쩳OϥΤNNOHjMt׷| find ֳohHI꨺]SIoO] Linux tη|NtΤҦɮ׳Ob@ӸƮwɮ׸̭Aӷϥ whereis Ϊ̬OUn locate ɡA|HƮwɮתeǡA]AɫAٷ|o{ϥγoӰɮɡA|wgQɮסIoNO]LO@ӡyƮwzɮקrIt~A򥻤W Linux Cѷ|w Linux Di updatedb ]NO@ӸƮwɮoI^ʧ@AAiHb /etc/cron.weekly/slocate.cron oɮקIMA]iHϥ /usr/bin/updatedb ӧsƮwɮשOI
    @

  • locate

  • ykG
    [root @test /root ]# locate [ؿW]
    ѼƻG
    dҡG
    [root @test /root]# locate root
    KK@j root rɮ׳XӤF @_@

    [root @test /root]# updatedb        <==ߨsƮw

    G
    locate ϥΤ觋N²FIJAn䪺ɦWYiIOAoӪF٬OϥΤWIOHz|o{ϥ locate ӴMƪɭԯSO֡AoO] locate M䪺ƬOѡywإߪƮw /var/lib/slocatez̭ƩҷjM쪺AҥHΪbhwзsơAIMOܧֳtoI򦳤򭭨OHNO]LOgѸƮwӷjMAӸƮwإ߹w]ObC§@AҥHzsإ߰_ӪɮסAo٦bƮwsejMɮסA locate |iDzy䤣IzI]nsƮwrI
    @
    ڨ쩳nإ߭ǸƮwOHO_nإߡHGݭnAoӮɭԡAAiHۤvܻݭnإɮ׸ƮwؿOIb /etc/updatedb.conf oӤYi]wFI
    @
    [root @test root]# more /etc/updatedb.conf
    ## Linux-Mandrake configuration.
    # ѦB}ld߸ơAMOѮڥؿաIҥHJ / Yi
    FROM="/"

    # ǥؿQnإɮ׷jMơAINOǤnƹI
    # ѰOܡAOo^W@hݬݤeANDp]wFI
    PRUNEPATHS="/proc,/tmp,/var/tmp,/usr/tmp,/net,/afs,/mnt"

    # w
    #   0 NwAtפWֳtAwF
    #   1 Ұʦw²AoOtΪw]ȡF
    SECURITY="1"

    # dߪɭԬO_nѿùXHMnA_hh·?
    VERBOSE="NO"

    # ƮwҦbBIoOw]ȡAnHNʡA_h|䤣I
    DATABASE="/var/lib/slocate/slocate.db"

    # ɮרtΧڭ̤]jMإߡHNOаաBD Linux ɮ׮榡աA
    # ڭ̳nijMTإ߰աI
    PRUNEFS="nfs,smbfs,ncpfs,proc,devpts,supermount,vfat,iso9660,udf,usbdevfs,devfs"

    @

  • find

  • ykG
    [root @test /root ]# find [|] [Ѽ]
    ѼƻG
    1. ɶG
       -atime n    :b n*24 pɤe@ѤQ access YsLɮצCXӡI
       -ctime n    :b n*24 pɤe@ѤQ changed YܡBsWɮשΥؿLX
       -mtime n    :b n*24 pɤe@ѤQ modified YקLɮצLX
       -newer file : file ٭nsɮ״NCXӡI
    2. ϥΦW١G
       -gid n      :M s ID n ɮ
       -group name :MsզW٬ name ɮ
       -uid n      :M֦ ID n ɮ
       -user name  :MϥΪ̦W٬ name ɮ
       -name file  :MɦW file ɮצW١]iHϥθUΦr^
       -type type  :Mɮݩʬ type ɮסAtype ]tF b, c, d, p, l, sA
                    oǻPe@ݩʬۦPIҦp l Link d |NI
    dҡG
    [root @test /root]# find / -name testing            <==MɦW testing 
    [root @test /root]# find / -name 'test*'       <==MɦW]t test I
    [root @test /root]# find . -ctime 1                 <==MثeؿU@ѫesWؿɮ
    [root @test /root]# find /home/test -newer .bashrc  <==M /home/test ؿU .bashrc ٭nsɮ
    [root @test /root]# find /home -user test       <==M /home U֦̬ test ɮ
    [root @test /root]# find /dev -type b               <==M /dev oӥؿUAɮݩʬ b ɮ
    G
    pGAnM@ɮתܡAϥ find |O@ӤDNILiHھڤPѼƨӵɮתjM\IҦpAnM@ɦW httpd.conf ɮסAADLӬOb /etc UANiHϥΡy find /etc -name httpd.conf zPIpGAOo@ɮɦW]tF httpd AODWHIANθUΦr aApWHGy find /etc -name '*httpd*' zNiNɦWt httpd ɮ׳CXoILAѩ find bMƪɫ۷ӵwСIҥHSƱnϥ find աIΪOiHNINO whereis P locate oII

    SetUID, SetGID, Sticky bit P file O
    Dm ( nݵ׽бNƹʨyGzUťճBAUťճBYi )
    2002/06/26GĤ@
    2003/02/06GssƻP[J FAQ
    2003/02/07G[J basename P dirname
    2004/03/15GNsɪeʦܤU@`GLinux ϺлPw޲z