锘??xml version="1.0" encoding="utf-8" standalone="yes"?>7777久久亚洲中文字幕,亚洲av午夜国产精品无码中文字 ,国产成人亚洲精品http://www.tkk7.com/zjrstar/archive/2008/07/08/213217.html涓鍙剁瑧澶?/dc:creator>涓鍙剁瑧澶?/author>Tue, 08 Jul 2008 01:38:00 GMThttp://www.tkk7.com/zjrstar/archive/2008/07/08/213217.htmlhttp://www.tkk7.com/zjrstar/comments/213217.htmlhttp://www.tkk7.com/zjrstar/archive/2008/07/08/213217.html#Feedback0http://www.tkk7.com/zjrstar/comments/commentRss/213217.htmlhttp://www.tkk7.com/zjrstar/services/trackbacks/213217.html闃呰鍏ㄦ枃

]]>
UNIX Shells by Example(Fourth Edition)璇諱功絎旇-2.Shells緙栫▼蹇熷叆闂?涓? 涔婯orn Shellhttp://www.tkk7.com/zjrstar/archive/2008/06/30/211591.html涓鍙剁瑧澶?/dc:creator>涓鍙剁瑧澶?/author>Mon, 30 Jun 2008 02:25:00 GMThttp://www.tkk7.com/zjrstar/archive/2008/06/30/211591.htmlhttp://www.tkk7.com/zjrstar/comments/211591.htmlhttp://www.tkk7.com/zjrstar/archive/2008/06/30/211591.html#Feedback0http://www.tkk7.com/zjrstar/comments/commentRss/211591.htmlhttp://www.tkk7.com/zjrstar/services/trackbacks/211591.html闃呰鍏ㄦ枃

]]>
UNIX Shells by Example(Fourth Edition)璇諱功絎旇-2.Shells緙栫▼蹇熷叆闂?浜? 涔婤ourne Shellhttp://www.tkk7.com/zjrstar/archive/2008/06/25/210643.html涓鍙剁瑧澶?/dc:creator>涓鍙剁瑧澶?/author>Wed, 25 Jun 2008 10:29:00 GMThttp://www.tkk7.com/zjrstar/archive/2008/06/25/210643.htmlhttp://www.tkk7.com/zjrstar/comments/210643.htmlhttp://www.tkk7.com/zjrstar/archive/2008/06/25/210643.html#Feedback0http://www.tkk7.com/zjrstar/comments/commentRss/210643.htmlhttp://www.tkk7.com/zjrstar/services/trackbacks/210643.html闃呰鍏ㄦ枃

]]>
UNIX Shells by Example(Fourth Edition)璇諱功絎旇-2.Shells緙栫▼蹇熷叆闂?涓)涔婥 Shell鍜孴C Shellhttp://www.tkk7.com/zjrstar/archive/2008/06/19/209133.html涓鍙剁瑧澶?/dc:creator>涓鍙剁瑧澶?/author>Thu, 19 Jun 2008 05:52:00 GMThttp://www.tkk7.com/zjrstar/archive/2008/06/19/209133.htmlhttp://www.tkk7.com/zjrstar/comments/209133.htmlhttp://www.tkk7.com/zjrstar/archive/2008/06/19/209133.html#Feedback0http://www.tkk7.com/zjrstar/comments/commentRss/209133.htmlhttp://www.tkk7.com/zjrstar/services/trackbacks/209133.html2.1 蹇熸祻瑙圫hell鑴氭湰錛?br /> C shell 鍜?TC shell 綾諱技浜嶤璇█璇硶
Bourne shell 鏄熀浜嶢lgol璇█
Bash鍜孠orn shells 娣峰悎浜咮ourne鍜孋 shells, 浣嗘槸璧鋒簮浜嶣ourne shell.
2.3 C 鍜孴C Shell 璇硶緇撴瀯

shbang琛?

"shbang" 琛屽憡璇夐噰鐢ㄥ摢涓猻hell鏉ヨВ鏋愯剼鏈? 棣栧厛鏄?tt>#, !, shell鐨勮礬寰?渚嬪錛?!/bin/csh or #!/bin/tcsh

娉ㄩ噴

鐢?tt>#絎﹀彿銆備緥濡傦細 # This is a comment

閫氶厤絎?/p>

 *, ?, and [ ] 鐢ㄤ簬鏂囦歡鍚嶇殑鎵╁睍.
! 鏄巻鍙插瓧絎?br />  < , > , >> , <&, and | 鐢ㄤ簬鏍囧噯IO鐨勯噸瀹氬悜鍜岀閬?br />  涓轟簡閬垮厤榪欎簺絎﹀彿琚玸hell瑙f瀽鍣ㄨВ閲婏紝shell涓繀欏諱嬌鐢╘鎴栬?銆備緥濡傦細
rm *; ls ??; cat file[1-3]; !!
echo "How are you?"
echo Oh boy\!

杈撳嚭鏄劇ず

echo 杈撳嚭鏄劇ず echo "Hello to you\!"

灞閮ㄥ彉閲?/p>

灞閮ㄥ彉閲忓瓨鍦ㄤ簬褰撳墠shell涓備嬌鐢╯et璁劇疆銆備緥濡?br /> set variable_name = value
set name = "Tom Jones"

鍏ㄥ眬鍙橀噺

鍏ㄥ眬鍙橀噺琚О涓虹幆澧冨彉閲忋備緥濡?br /> setenv VARIABLE_NAME value
setenv PRINTER Shakespeare 

浠庡彉閲忎腑鎻愬彇鍊?/p>

涓轟簡浠庡彉閲忎腑鎻愬彇涔嬶紝浣跨敤$鍦ㄥ彉閲忓墠銆備緥濡傦細
echo $variable_name
echo $name
echo $PRINTER

璇誨彇鐢ㄦ埛杈撳叆

浣跨敤 $< 璇誨叆涓琛屽埌涓涓彉閲忎腑錛屼緥濡傦細
echo "What is your name?"
set name = $<
           


鍙傛暟

鍙互浠庡懡浠よ涓紶鍏ュ弬鏁般備袱縐嶆柟寮忔帴鍙楄繖浜涘弬鏁板鹼細涓涓槸浣嶇疆鍙傛暟錛屽彟澶栦竴涓槸argv鏁扮粍銆備緥濡傦細
% scriptname arg1 arg2 arg3 ...         

浣跨敤浣嶇疆鍙傛暟:

echo $1 $2 $3

arg1 鎸囧畾涓?/span>$1, arg2 to $2, etc.

echo $*

鎵鏈夌殑鍙傛暟

浣跨敤argv鏁扮粍:

echo $argv[1] $argv[2] $argv[3]

 

echo $argv[*]

鎵鏈夊弬鏁?/span>

echo $#argv

鍙傛暟鍙?/span>

鏁扮粍

鏁扮粍鏄竴鍒楄絀烘牸鍒嗛殧鐨勫瓧絎︺備嬌鐢?)鎶婂瓧絎﹂兘鍖呭惈榪涘幓銆?br /> 鐢ㄥ唴寤虹殑shift鍛藉悕鍙互縐誨嚭宸﹁竟鐨勫瓧浠巐ist涓?br /> 涓嶅悓浜嶤, index璧峰鍊兼槸1鑰屼笉鏄?.
渚嬪錛?/p>

set word_list = ( word1 word2 word3 )

 
set names = ( Tom Dick Harry Fred )
            shift names

浠巐ist涓垹闄?/span>Tom

echo $word_list[1]
            echo $word_list[2]
            echo $word_list or $word_list[*]
            echo $names[1]
            echo $names[2]
            echo $names[3]
            echo $names or echo $names[*]
            

鏄劇ず絎竴涓?br /> 鏄劇ず絎簩涓?br /> 鏄劇ず鎵鏈?/span>

鍛戒護鏇挎崲

浣跨敤` `渚嬪錛?/span>

 
set variable_name=`command` echo $variable_name
 
 
set now = `date`
            echo $now
            echo "Today is `date`"

 

綆楁湳

浣跨敤@鏉ヨ〃紺鴻綆楃粨鏋滅殑淇濆瓨鍙橀噺銆備緥濡?br /> @ n = 5 + 5
echo $n

鎿嶄綔絎?/p>

鐩哥瓑鎬?

==

!=

Relational:

>

greater than

>=

greater than or equal to

<

less than

<=

less than or equal to

閫昏緫鎬?

&&

and

||

or

!

nSot

鏉′歡璇彞

if  then. if 蹇呴』鐢?tt>endif緇撳熬. 榪樺彲浠ヤ嬌鐢?tt>if/else銆備緥濡傦細

The if construct is:

if (  expression  ) then
            block of statements
            endif
            

The if/else construct is:

if ( expression ) then
            block of statements
            else
            block of statements
            endif
            

The if/else/else if construct is:

if ( expression ) then
            block of statements
            else if ( expression ) then
            block of statements
            else if ( expression ) then
            block of statements
            else
            block of statements
            endif
            switch ( "$color" )
            case blue:
            echo $color is blue
            breaksw
            case green:
            echo $color is green
            breaksw
            case red:
            case orange:
            echo $color is red or orange
            breaksw
            default:
            echo "Not a valid color"
            endsw
            

switch 緇撴瀯:

switch variable_name
            case constant1:
            statements
            case constant2:
            statements
            case constant3:
            statements
            default:
            statements
            endsw

寰幆

涓ょ綾誨瀷寰幆璇彞錛?tt>while鍜?tt>foreach
寰幆鎺у埗涓彲浠ヤ嬌鐢?tt>break鍜?tt>continue.渚嬪錛?br /> while ( expression )
        block of statements
end
foreach variable ( word list )
     block of statements
end
 ------------------------------
 foreach color (red green blue)
     echo $color
  end

鏂囦歡嫻嬭瘯

渚嬪錛?/span>

–r

褰撳墠鐢ㄦ埛鑳借鏂囦歡

–w

褰撳墠鐢ㄦ埛鑳藉啓鏂囦歡

–x

褰撳墠鐢ㄦ埛鑳芥墽琛屾枃浠?/span>

–e

鏂囦歡瀛樺湪

–o

褰撳墠鐢ㄦ埛鎷ユ湁鏂囦歡

–z

鏂囦歡闀垮害涓?

–d

鏂囦歡鏄洰褰?/span>

–f

鏂囦歡鏄櫘閫氭枃浠?/span>

2.3.1 C/TC Shell 鑴氭湰

Example 2.2.
1   #!/bin/csh –f
2   # The Party Program––Invitations to friends from the "guest" file
3   set guestfile = ~/shell/guests
4   if ( ! –e "$guestfile" ) then
echo "$guestfile:t non–existent"
exit 1
5   endif
6   setenv PLACE "Sarotini's"
7   @ Time = `date +%H` + 1
8   set food = ( cheese crackers shrimp drinks "hot dogs" sandwiches )
9   foreach person ( `cat $guestfile` )
10      if ( $person =~ root ) continue
11      mail –v –s "Party" $person << FINIS   # Start of here document 
Hi $person!Please join me at $PLACE for a party!
         Meet me at $Time o'clock. I'll bring the ice cream. 
        Would you please bring $food[1] and anything else you would like to eat? 
        Let me know if you can make it. Hope to see you soon.
Your pal,
ellie@`hostname`       # or `uname -n`
12       FINIS
13       shift food
14       if ( $#food ==  0 ) then
set food = ( cheese crackers shrimp drinks "hot dogs" sandwiches )
endif
15   end
echo "Bye..."
瑙i噴錛?/pre>
1.鍛婅瘔kernel錛岃繖鏄疌 shell鑴氭湰. ”–f“琛ㄧず蹇熷惎鍔?灝辨槸璇翠笉瑕佹墽琛?tt>.cshrc.
2.娉ㄩ噴琛?br /> 3.鍙橀噺guestfile 琚緗負璋冪敤guests鐨勫叏璺緞
4.琛岃鍏ワ紝濡傛灉guests涓嶅瓨鍦紝鎵撳嵃 "guests nonexistent" 錛岄鍑鴻剼鏈?br /> 5.endif
6.PLACE 鐜鍙橀噺
7.Time灞閮ㄥ彉閲忋?tt>@鏄唴寤虹畻鏈?br /> 8.food鏁扮粍銆?br /> 9.foreach寰幆銆傚懡浠ゆ浛鎹?tt>`cat $guestfile`.
10.鏉′歡嫻嬭瘯
11.foreach寰幆
12.FINIS鏄敤鎴峰畾涔夌殑緇堢粨絎?br /> 13.shift鍛戒護鍙栧緱涓嬩竴涓猵erson
14.濡傛灉food涓虹┖錛屽皢浼氶噸緗?br /> 15.寰幆緇撴潫鏍囧織


]]>UNIX Shells by Example(Fourth Edition)璇諱功絎旇-1.UNIX/Linux Shells綆浠?/title><link>http://www.tkk7.com/zjrstar/archive/2008/06/18/208634.html</link><dc:creator>涓鍙剁瑧澶?/dc:creator><author>涓鍙剁瑧澶?/author><pubDate>Wed, 18 Jun 2008 02:37:00 GMT</pubDate><guid>http://www.tkk7.com/zjrstar/archive/2008/06/18/208634.html</guid><wfw:comment>http://www.tkk7.com/zjrstar/comments/208634.html</wfw:comment><comments>http://www.tkk7.com/zjrstar/archive/2008/06/18/208634.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/zjrstar/comments/commentRss/208634.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/zjrstar/services/trackbacks/208634.html</trackback:ping><description><![CDATA[Shell鏄竴浜涚壒瀹氱殑紼嬪簭鎺ュ彛錛岀敤浜庣敤鎴峰拰UNIX/Linux鎿嶄綔緋葷粺鏍鎬氦浜掋傚涓嬪浘鎵紺猴細<br /> 1.Unix Shell<br />   (1) Bourne shell (<tt>sh</tt>)鏄爣鍑嗙殑UNIX shell, 鐢ㄤ簬綆$悊緋葷粺. 寰堝緋葷粺綆$悊鐨勮剼鏈備緥濡?tt>rc start鍜?/tt><tt>stop鑴氭湰浠ュ強</tt><tt>shutdown</tt> 鏄疊ourne shell 鑴氭湰;緙虹渷鐨凚ourne shell 琛ㄧず涓?<tt>$</tt>)<br />   (2) C shell (<tt>csh</tt>)鏄集鍏嬪埄寮鍙戠殑錛屽鍔犱簡寰堝鏂扮殑鐗瑰緛, 渚嬪command-line history, aliasing, built-in arithmetic, filename completion, and job control. Bourne shell 鑴氭湰蹇簬鍜岀畝鍗曚簬C shell. 緙虹渷C shell 琛ㄧず涓?<tt>%</tt>)<br />   (3) Korn shell鏄疊ourne shell鐨勮秴闆? Korn shell 澧炲己鐨勭壒寰佹湁editable history, aliases, functions, regular expression wildcards, built-in arithmetic, job control, coprocessing, and special debugging features. Bourne shell is 瀹屽叏鍚戜笂鍏煎Korn shell,q緙虹渷鐨凨orn shell鎻愮ず絎︽槸 (<tt>$</tt>)<br /> 2.Shell鐨勮亴璐f槸錛?br /> (1)璇誨叆杈撳叆鍜岃В鏋愬懡浠よ<br /> (2)璁$畻鐗規(guī)畩瀛楃錛屼緥濡倃ildcards鍜屽巻鍙插瓧絎?br /> (3)寤虹珛綆¢亾錛岄噸瀹氬悜鍜屽悗鍙板鐞?br /> (4)澶勭悊淇″彿<br /> (5)寤虹珛鍙墽琛岀▼搴?br /> 3.Shell鍛戒護鎵ц鍥撅細<br /> <img height="696" alt="" src="http://www.tkk7.com/images/blogjava_net/zjrstar/shell.JPG" width="556" border="0" /><br /> 4.緋葷粺鍚姩鍜岀櫥褰昐hell<br /> 鍚姩緋葷粺->>璋冪敤<tt>init->>鍒嗛厤</tt>PID=1->>鎵撳紑緇堢綰?>>寤虹珛<tt>stdin</tt>,<tt>stdout鍜?/tt><tt>stderr->></tt>杈撳叆login name,->>杈撳叆password->> <tt>/bin/login</tt>閫氳繃<tt>passwd</tt>鏂囦歡楠岃瘉浣犵殑瀵嗙爜.濡傛灉<tt>login</tt>楠岃瘉鎴愬姛錛屽垯浼氬紑濮嬪緩绔嬪垵濮嬬幆澧?<tt>HOME</tt>, <tt>SHELL</tt>, <tt>USER</tt>, 鍜?<tt>LOGNAME</tt> 鏄粠<tt>passwd</tt>涓娊鍙栫殑鍙橀噺鍊? <tt>HOME鍙橀噺鎸囧畾浣犵殑home鐩綍</tt>, <tt>SHELL</tt>鎸囧畾鐧誨綍shell鐨勫悕縐?瀹冩槸passwd鏂囦歡鐨勬渶鍚庝竴涓叆鍙? <tt>USER</tt> 鍜?<tt>LOGNAME</tt> 鍙橀噺鎸囧畾浣犵殑鐧誨綍鍚? ->>鎵цpasswd鏂囦歡涓殑鏈鍚庝竴涓叆鍙g▼搴?font face="Courier New">.</font> 閫氬父榪欎釜紼嬪簭灝辨槸shell. 濡傛灉<tt>passwd</tt>鏂囦歡涓殑鏈鍚庝竴涓▼搴忔槸 <tt>/bin/csh</tt>, C shell琚墽琛岋紝濡傛灉鏄?<tt>/bin/bash</tt> 鎴栬卬ull, Bash shell鎵ц. 濡傛灉鏄?<tt>/bin/ksh</tt> 鎴栬?<tt>/bin/pdksh</tt>, Korn shell 琚墽琛? ->>媯鏌ョ郴緇熷垵濮嬪寲鏂囦歡寤虹珛->>媯鏌ョ櫥褰曠洰褰曚笅鐨勫垵濮嬪寲鏂囦歡. ->>絳夊緟鐢ㄦ埛杈撳叆銆?br /> 4.1瑙f瀽鍛戒護琛岀殑榪囩▼錛?br /> (1)鎵ц鍘嗗彶璁板綍鏇挎崲<br /> (2)鍛藉悕琛岃鍒嗗壊鎴愮鍚堟垨鑰呭瓧<br /> (3)鏇存柊鍘嗗彶璁板綍<br /> (4)澶勭悊寮曠敤<br /> (5)鍒悕鏇挎崲鍜屽畾涔夊嚱鏁?br /> (6)寤虹珛閲嶅畾鍚?鍚庡彴鍜岀閬?br /> (7)鎵ц鍙橀噺(<tt>$user</tt>, <tt>$name</tt>, etc.) 鏇挎崲<br /> (8)鎵ц鍛戒護鏇挎崲<br /> (9)鏂囦歡鍚嶆浛鎹紝璋冪敤<span id="l355z5t" class="docEmphasis">globbing</span> (<tt>cat abc.??</tt>, <tt>rm *.c</tt>, etc.) <br /> (10)鎵ц鍛戒護<br /> 4.2鍛戒護鐨勭被鍨?br /> (1)鍒悕<br /> (2)鍏抽敭瀛?br /> (3)鍑芥暟<br /> (4)鍐呭緩鍛戒護<br /> (5)鍙墽琛屽懡浠?br /> 5.榪涚▼鍜孲hell<br /> 5.1鏌ョ湅榪涚▼<br /> $ <span id="355v5b5" class="docEmphStrong">ps aux</span>  <span id="x55fd5h" class="docEmphasis">(BSD/Linux ps)  (use ps -ef for SVR4)</span><br /> <span id="hf3rb1f" class="docEmphStrong">$ pstree<br /> </span>6.鐜鍜岀戶鎵?br /> 1   $ <span id="pv35flb" class="docEmphStrong">id</span><br />    <span id="vjpn5jz" class="docEmphasis">uid=502(ellie) gid=502(ellie)</span><br /> 鏌ョ湅鐢ㄦ埛鐨勬爣璇唘ser identification (UID), group identifications (GID), <br /> 6.3淇敼鏂囦歡璁稿彲<br /> chmod<br /> Permission Modes<br /> <table cellspacing="0" cellpadding="5" rules="none" frame="hsides"> <thead> <tr> <th class="thead" valign="top" scope="col" align="left"> <p class="docText"><span id="3l5t5hx" class="docEmphBoldItalic">Decimal</span></p> </th> <th class="thead" valign="top" scope="col" align="left"> <p class="docText"><span id="55zfrbh" class="docEmphBoldItalic">Binary</span></p> </th> <th class="thead" valign="top" scope="col" align="left"> <p class="docText"><span id="z3f55n5" class="docEmphBoldItalic">Permissions</span></p> </th> </tr> </thead> <tbody> <tr> <td class="docTableCell" valign="top" align="left"> <p class="docText">0</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText">000</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText">none</p> </td> </tr> <tr> <td class="docTableCell" valign="top" align="left"> <p class="docText">1</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText">001</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText"><tt>--x</tt></p> </td> </tr> <tr> <td class="docTableCell" valign="top" align="left"> <p class="docText">2</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText">010</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText"><tt>-w-</tt></p> </td> </tr> <tr> <td class="docTableCell" valign="top" align="left"> <p class="docText">3</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText">011</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText"><tt>-wx</tt></p> </td> </tr> <tr> <td class="docTableCell" valign="top" align="left"> <p class="docText">4</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText">100</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText"><tt>r--</tt></p> </td> </tr> <tr> <td class="docTableCell" valign="top" align="left"> <p class="docText">5</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText">101</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText"><tt>r-x</tt></p> </td> </tr> <tr> <td class="docTableCell" valign="top" align="left"> <p class="docText">6</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText">110</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText"><tt>rw-</tt></p> </td> </tr> <tr> <td class="docTableCell" valign="top" align="left"> <p class="docText">7</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText">111</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText"><tt>rwx</tt></p> </td> </tr> </tbody> </table> <tt>chmod</tt> is as follows: <tt>r</tt> = read; <tt>w</tt> = write; <tt>x</tt> = execute; <tt>u</tt> = user; <tt>g</tt> = group; <tt>o</tt> = others; <tt>a</tt> = all.<br /> 1   $ <span id="53b1lzh" class="docEmphStrong">chmod 755 file</span><br />     $ <span id="v3r5r55" class="docEmphStrong">ls –l file</span><br />     <span id="35zfhrp" class="docEmphasis">–rwxr–xr–x 1 ellie  0 Mar  7 12:52 file</span><br /> 2   $ <span id="vd3fr35" class="docEmphStrong">chmod g+w file</span><br />     $ <span id="pfbdp5t" class="docEmphStrong">ls -l file</span><br />     <span id="h3tjjtj" class="docEmphasis">–rwxrwxr-x  1 ellie  0 Mar 7 12:54 file</span><br /> 3   $ <span id="31z5rnn" class="docEmphStrong">chmod go-rx file</span><br />     $ <span id="nlv3fvd" class="docEmphStrong">ls -l file</span><br />     <span id="3b5dnpn" class="docEmphasis">–rwx-w---- 1 ellie  0 Mar 7 12:56 file</span><br /> 4   $ <span id="zhj5t5v" class="docEmphStrong">chmod a=r file</span><br />     $ <span id="ftx55p5" class="docEmphStrong">ls -l file</span><br />     <span id="3fbx5n5" class="docEmphasis">–r--r--r-- 1 ellie  0 Mar 7 12:59 file<br /> <tt>chown鏀瑰彉鏂囦歡鍜岀洰褰曠殑鎵鏈夊睘鎬?br /> </tt>1   $ <span id="3z55j3j" class="docEmphStrong">ls -l filetest</span><br />     <span id="trbht5p" class="docEmphasis">-rw-rw-r--   1 ellie    ellie           0 Jan 10 12:19 filetest</span><br /> 6.4宸ヤ綔鐩綍<br /> 1   > <span id="zhzbvhf" class="docEmphStrong">cd /</span><br /> 2   > <span id="d3pdz5v" class="docEmphStrong">pwd</span><br />     <span id="j3lrvdt" class="docEmphasis">/</span><br /> 3   > <span id="3vr5lzh" class="docEmphStrong">bash</span><br /> 4   $ <span id="5hl5vtt" class="docEmphStrong">cd /home</span><br /> 5   $ <span id="3dlpbtr" class="docEmphStrong">pwd</span><br />     <span id="5p555p5" class="docEmphasis">/home</span><br /> 6   $ <span id="n5pt5hh" class="docEmphStrong">exit</span><br /> 7   > <span id="pv3p5nn" class="docEmphStrong">pwd</span><br />     <span id="3xdh5fl" class="docEmphasis">/</span><br />     ><br /> 6.5鏌ョ湅鍙橀噺<br /> $ <span id="xvfh5fn" class="docEmphStrong">env</span><br /> 6.6閲嶅畾鍚戝拰綆¢亾<br /> 閲嶅畾鍚?br /> 1   $ who <span id="fd555lj" class="docEmphStrong">></span> file<br /> 2   $ cat file1 file2 <span id="555tfzx" class="docEmphStrong">>></span> file3<br /> 3   $ mail tom < file<br /> 4   $ find / -name file -print <span id="dzbn55l" class="docEmphStrong">2></span> errors<br /> 5   % ( find / -name file -print <span id="hpz3nlz" class="docEmphStrong">></span> /dev/tty) <span id="zh3tll3" class="docEmphStrong">>&</span> errors<br /> 綆¢亾<br /> |<br /> who | wc<br /> 6.7Shell鍜屼俊鍙?br /> 鏍囧噯淇″彿<br /> <table cellspacing="0" cellpadding="5" rules="none" frame="hsides"> <thead> <tr> <th class="thead" valign="top" scope="col" align="left"> <p class="docText"><span id="5nx55n5" class="docEmphBoldItalic">Number</span></p> </th> <th class="thead" valign="top" scope="col" align="left"> <p class="docText"><span id="h35dn5v" class="docEmphBoldItalic">Name</span></p> </th> <th class="thead" valign="top" scope="col" align="left"> <p class="docText"><span id="5nh3vlr" class="docEmphBoldItalic">Description</span></p> </th> <th class="thead" valign="top" scope="col" align="left"> <p class="docText"><span id="fnxhvlb" class="docEmphBoldItalic">Action</span></p> </th> </tr> </thead> <tbody> <tr> <td class="docTableCell" valign="top" align="left"> <p class="docText">0</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText"><tt>EXIT</tt></p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText">Shell exits</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText">Termination</p> </td> </tr> <tr> <td class="docTableCell" valign="top" align="left"> <p class="docText">1</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText"><tt>SIGHUP</tt></p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText">Terminal has disconnected</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText">Termination</p> </td> </tr> <tr> <td class="docTableCell" valign="top" align="left"> <p class="docText">2</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText"><tt>SIGINT</tt></p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText">User presses Ctrl-C</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText">Termination</p> </td> </tr> <tr> <td class="docTableCell" valign="top" align="left"> <p class="docText">3</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText"><tt>SIGQUIT</tt></p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText">User presses Ctrl-\</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText">Termination</p> </td> </tr> <tr> <td class="docTableCell" valign="top" align="left"> <p class="docText">4</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText"><tt>SIGILL</tt></p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText">Illegal hardware instruction</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText">Program error</p> </td> </tr> <tr> <td class="docTableCell" valign="top" align="left"> <p class="docText">5</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText"><tt>SIGTRAP</tt></p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText">Produced by debugger</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText">Program error</p> </td> </tr> <tr> <td class="docTableCell" valign="top" align="left"> <p class="docText">8</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText"><tt>SIGFPE</tt></p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText">Arithmetic error; e.g., division by zero</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText">Program error</p> </td> </tr> <tr> <td class="docTableCell" valign="top" align="left"> <p class="docText">9</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText"><tt>SIGKILL</tt></p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText">Cannot be caught or ignored</p> </td> <td class="docTableCell" valign="top" align="left"> <p class="docText">Termination</p> </td> </tr> </tbody> </table> <br /> </span> <img src ="http://www.tkk7.com/zjrstar/aggbug/208634.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/zjrstar/" target="_blank">涓鍙剁瑧澶?/a> 2008-06-18 10:37 <a href="http://www.tkk7.com/zjrstar/archive/2008/06/18/208634.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://www.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://81am.com" target="_blank">激情小说亚洲图片</a>| <a href="http://35xyz.com" target="_blank">国产福利免费视频</a>| <a href="http://njjngs.com" target="_blank">亚洲一区二区三区高清在线观看</a>| <a href="http://323799.com" target="_blank">亚洲一区二区三区在线观看蜜桃</a>| <a href="http://cnlawedu.com" target="_blank">可以免费观看的国产视频</a>| <a href="http://zibochanglong.com" target="_blank">久久中文字幕免费视频</a>| <a href="http://gs168sz.com" target="_blank">久久99国产亚洲高清观看首页 </a>| <a href="http://bohaolg.com" target="_blank">免费一看一级毛片</a>| <a href="http://jiggybaby.com" target="_blank">亚洲变态另类一区二区三区 </a>| <a href="http://xhm33.com" target="_blank">精品香蕉在线观看免费</a>| <a href="http://jcthbank.com" target="_blank">久久狠狠高潮亚洲精品</a>| <a href="http://8123pp.com" target="_blank">黄色网址免费大全</a>| <a href="http://sdzsx.com" target="_blank">亚洲一区二区三区在线观看网站</a>| <a href="http://djqq520.com" target="_blank">香蕉高清免费永久在线视频 </a>| <a href="http://ranjihua.com" target="_blank">亚洲精品视频免费观看</a>| <a href="http://0515zs.com" target="_blank">国产免费内射又粗又爽密桃视频</a>| <a href="http://zzttt04.com" target="_blank">亚洲色婷婷综合久久</a>| <a href="http://zjztauto.com" target="_blank">日韩免费无码视频一区二区三区 </a>| <a href="http://hqwgg.com" target="_blank">亚洲国产精品综合久久一线</a>| <a href="http://udlmw.com" target="_blank">亚洲精品视频免费</a>| <a href="http://747767.com" target="_blank">亚洲欧洲国产日韩精品</a>| <a href="http://djllgs.com" target="_blank">国产在线a免费观看</a>| <a href="http://jipiao020.com" target="_blank">91麻豆国产自产在线观看亚洲</a>| <a href="http://nn227.com" target="_blank">亚洲乱码一区二区三区国产精品</a>| <a href="http://zjhmpaper.com" target="_blank">好男人视频社区精品免费</a>| <a href="http://sdsxyz.com" target="_blank">黄色网址在线免费观看</a>| <a href="http://sczssc.com" target="_blank">国产成人无码综合亚洲日韩</a>| <a href="http://mlhcd.com" target="_blank">国产1000部成人免费视频</a>| <a href="http://9haolc.com" target="_blank">亚洲av无码片vr一区二区三区 </a>| <a href="http://606059.com" target="_blank">亚洲精品视频在线看</a>| <a href="http://xianfeng-motor.com" target="_blank">波霸在线精品视频免费观看</a>| <a href="http://126cm.com" target="_blank">亚洲高清美女一区二区三区</a>| <a href="http://zzttt04.com" target="_blank">成年女人免费视频播放体验区</a>| <a href="http://8xk7u9.com" target="_blank">五月天国产成人AV免费观看</a>| <a href="http://zhuguangbaoyu.com" target="_blank">亚洲av永久无码精品古装片</a>| <a href="http://qmoread.com" target="_blank">欧洲黑大粗无码免费</a>| <a href="http://t66p.com" target="_blank">香蕉免费看一区二区三区</a>| <a href="http://16lds.com" target="_blank">youjizz亚洲</a>| <a href="http://740740740.com" target="_blank">亚洲另类激情综合偷自拍图</a>| <a href="http://6123fa.com" target="_blank">免费看美女裸露无档网站</a>| <a href="http://www5g9.com" target="_blank">亚洲一级片免费看</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>