⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rsh.1

📁 操作系统设计与实现源码
💻 1
字号:
%!PS-Adobe-1.0%%Creator: devps (Pipeline Associates, Inc.)%%CreationDate: Fri Sep 13 13:04:23 1996%%Pages: (atend)%%DocumentFonts: (atend)/devps 180 dict def devps begin/res 10.000000 def/y_offset 843 def/X{exch}bind def/mm {transform round X round X itransform} bind def/r{rmoveto}bind def/m{moveto}bind def/l{lineto}bind def/rl{rlineto}bind def/st{stroke}bind def/gs{gsave}bind def/gr{grestore}bind def/cp{currentpoint}bind def/np{newpath}bind def/ct{curveto}bind defsystemdict /setpacking known { /savepacking currentpacking def true setpacking } if/m0{0 0 moveto}bind def/xc{//res div}bind def/yc{//res neg div //y_offset add}bind def/lc{yc X xc X l st}bind def/mc{yc X xc X m}bind def/el{gs /a X def a div 1 X scale cp np a xc 2 div 0 360 arc st gr}bind def/ar{cp 7 2 roll np xc 5 1 roll atan 3 1 roll atan X arc st}bind def/sp{yc X xc X 6 2 roll yc X xc X 6 2 roll yc X xc X 6 2 roll ct}bind def/V{//res neg div //y_offset addcurrentpoint pop Xm}bind def/H{//res div0 transform X round X itransform popcurrentpoint X popmoveto}bind def/h{//res div 0 r}bind def/v{//res neg div 0 X r}bind def/S{X H show}bind def/A{H //res div 1 index stringwidth pop sub 1 index length div 0 3 2 roll ashow}bind def/psize 10 def/height 0 def/cheight { height 0 ne { height } { psize } ifelse } bind def/slant 0 def/FF{findfont X dup 30 div 0 mm pop setlinewidth /psize X def    [psize 0 cheight slant sin slant cos div mul cheight 0 0]    makefont setfont}bind def/shade{gs /dy X def /dx X def np m 0 /dy rl /dx 0 rl 0 /dy neg rl /dx neg 0 rl closepath .9 setgray fillgr}bind def1 setlinecap/resolution res 72 mul def/startFig {	/SavedState save def	userdict maxlength dict begin	currentpoint transform	DocumentInitState setmiterlimit setgray setdash setlinejoin setlinecap		setlinewidth setmatrix	itransform moveto	/ury exch def	/urx exch def	/lly exch def	/llx exch def	/y exch 72 mul resolution div def	/x exch 72 mul resolution div def		currentpoint /cy exch def /cx exch def	/sx x urx llx sub div def	/sy y ury lly sub div def	sx sy scale	cx sx div llx sub	cy sy div ury sub translate		/DefFigCTM matrix currentmatrix def	/initmatrix {		DefFigCTM setmatrix	} def	/defaultmatrix {		DefFigCTM exch copy	} def	/initgraphics {		DocumentInitState setmiterlimit setgray setdash 			setlinejoin setlinecap setlinewidth setmatrix		DefFigCTM setmatrix	} def	/showpage {		initgraphics	} def}bind  def/clipFig {	currentpoint 6 2 roll	newpath 4 copy	4 2 roll moveto	6 -1 roll exch lineto	exch lineto	exch lineto	closepath clip	newpath	moveto}bind  def/doclip { llx lly urx ury clipFig } def/endFig {	end SavedState restore}bind  def/globalstart {	fontnum psize slant height resolution currentpoint 	pagesave restore gsave }bind  def/globalend {	grestore moveto	/resolution exch def /height exch def	/slant exch def /psize exch def /fontnum exch def	F	/pagesave save def}bind  def/fontnum 1 def systemdict /setpacking known { savepacking setpacking} ifend/BP{save mark devps begin m0/DocumentInitState [ matrix currentmatrix currentlinewidth currentlinecapcurrentlinejoin currentdash currentgray currentmiterlimit ] cvx def}bind def/EP{end cleartomark restore showpage}def/Encoding-1 256 array def0 1 255 {Encoding-1 exch /.notdef put} forEncoding-1 8#301 StandardEncoding 8#101 26 getinterval putinterval %A-BEncoding-1 8#341 StandardEncoding 8#141 26 getinterval putinterval %a-bEncoding-1 8#241 StandardEncoding 8#301 16 getinterval putinterval %accentsEncoding-1 8#373 StandardEncoding 8#365 1 getinterval putinterval %dotlessiEncoding-1dup 8#41 /copyright putdup 8#42 /registered putdup 8#43 /trademark putdup 8#44 /logicalnot putdup 8#45 /Eth putdup 8#46 /eth putdup 8#47 /Thorn putdup 8#50 /thorn putdup 8#51 /brokenbar putdup 8#52 /degree putdup 8#53 /divide putdup 8#54 /multiply putdup 8#55 /minus putdup 8#56 /onehalf putdup 8#57 /onequarter putdup 8#60 /threequarters putdup 8#101 /Aacute putdup 8#102 /Acircumflex putdup 8#103 /Adieresis putdup 8#104 /Agrave putdup 8#105 /Aring putdup 8#106 /Atilde putdup 8#107 /Ccedilla putdup 8#110 /Eacute putdup 8#111 /Ecircumflex putdup 8#112 /Edieresis putdup 8#113 /Egrave putdup 8#114 /Iacute putdup 8#115 /Icircumflex putdup 8#116 /Idieresis putdup 8#117 /Igrave putdup 8#120 /Ntilde putdup 8#121 /Oacute putdup 8#122 /Ocircumflex putdup 8#123 /Odieresis putdup 8#124 /Ograve putdup 8#125 /Otilde putdup 8#126 /Scaron putdup 8#127 /Uacute putdup 8#130 /Ucircumflex putdup 8#131 /Udieresis putdup 8#132 /Ugrave putdup 8#133 /Ydieresis putdup 8#134 /Zcaron putdup 8#135 /aacute putdup 8#136 /acircumflex putdup 8#137 /adieresis putdup 8#140 /agrave putdup 8#141 /aring putdup 8#142 /atilde putdup 8#143 /ccedilla putdup 8#144 /eacute putdup 8#145 /ecircumflex putdup 8#146 /edieresis putdup 8#147 /egrave putdup 8#150 /iacute putdup 8#151 /icircumflex putdup 8#152 /idieresis putdup 8#153 /igrave putdup 8#154 /ntilde putdup 8#155 /oacute putdup 8#156 /ocircumflex putdup 8#157 /odieresis putdup 8#160 /ograve putdup 8#161 /otilde putdup 8#162 /scaron putdup 8#163 /uacute putdup 8#164 /ucircumflex putdup 8#165 /udieresis putdup 8#166 /ugrave putdup 8#167 /ydieresis putdup 8#170 /zcaron putpop/Enc-dict 30 dict defEnc-dict /tmpstr1 50 string putEnc-dict /tmpstr2 50 string putEnc-dict /tmpstr3 50 string dup (Encoding-) exch cvs pop put/AEnc-def { % arguments: the original font's name, encoding nrEnc-dict begintmpstr2 cvs /Enc-no exch def % Remember the number in a stringdup /OrigName exch def % remember the namefindfont dup maxlength dict /newdict exch def % get dictionary for new font{ exch dup /FID ne   { exch newdict 3 1 roll put }   { pop pop } % Ignore FID   ifelse} forallnewdict begin/Encoding  tmpstr3 9 Enc-no putinterval tmpstr3 0 9 Enc-no length add getinterval  cvn load  def % Replace encodingcurrentdict /UniqueID known{ /UniqueID UniqueID Enc-no cvi 49999 mul add def } if % Derive New UniqueIDend % newdict/FNlength OrigName tmpstr1 cvs length def % convert name, remember lengthFNlength 1 add Enc-no length add stringdup 0 OrigName tmpstr1 cvs putintervaldup FNlength (-) putintervaldup FNlength 1 add Enc-no putintervaldup 0 tmpstr1 0 FNlength getinterval putinterval % Add old namecvn dup newdict /FontName 3 2 roll put newdict definefontend % Enc-dict} def/Times-Roman 1 AEnc-def pop/R-1{/Times-Roman-1 FF}def/Times-Bold 1 AEnc-def pop/B-1{/Times-Bold-1 FF}def/R{/Times-Roman FF}def/B{/Times-Bold FF}def/I{/Times-Italic FF}def%%EndProlog%%Page: 1 1BP/slant 0 def/height 0 def480 V10 R720(RSH)S924(\()S966(1)S1024(\))S2696(Eighth)S(Edition)296 2989 A4923(RSH)S5127(\()S5169(1)S5227(\))S960 V9 R720(N)S722(NA)S790(AM)S858(ME)S940(E)S1080 V10 R1080(rsh)S10 R-11228(-)S10 R1310(remote)S1615(shell)S1248 V9 R720(S)S722(SY)S774(YN)S842(NO)S910(OP)S978(PS)S1030(SI)S1082(IS)S1115(S)S1368 V10 B1080(rsh)S10 R1258([)S10 B-11292(-)S10 B1349(n)S10 R1405(])S1477([)S10 B-11511(-)S10 B1568(l)S10 I1634(username)S10 R2033(])S10 I2105(host)S10 R2310([)S10 I(command)391 2344 A10 R2743(])S1488 V10 I1080(host)S10 R1285([)S10 B-11319(-)S10 B1376(n)S10 R1432(])S1504([)S10 B-11538(-)S10 B1595(l)S10 I1661(username)S10 R2060(])S2132([)S10 I(command)391 2166 A10 R2565(])S1656 V9 R720(D)S722(DE)S790(ES)S848(SC)S900(CR)S962(RI)S1024(IP)S1057(PT)S1109(TI)S1167(IO)S1200(ON)S1268(N)S1776 V10 B1080(Rsh)S10 R(connects)352 1276 A1656(to)S1762(the)S1913(speci\256ed)S10 I2299(host)S10 R2474(,)S2527(and)S2700(executes)S3075(the)S3226(speci\256ed)S10 I(command)391 3612 A10 R4003(.)S10 B4081(Rsh)S10 R4277(copies)S4562(its)S4685(standard)S(input)206 5055 A1896 V1080(to)S1197(the)S1359(remote)S1678(command,)S2138(the)S2300(standard)S2679(output)S2973(of)S3095(the)S3256(remote)S3574(command)S4008(to)S4124(its)S4257(standard)S4636(output,)S4955(and)S5138(the)S2016 V1080(standard)S1456(error)S1688(of)S1807(the)S1965(remote)S2281(command)S2713(to)S2827(its)S2958(standard)S3335(error.)S3618(Interrupt,)S4032(quit)S4224(and)S4405(terminate)S4822(signals)S5137(are)S2136 V1080(propagated)S1552(to)S1655(the)S1803(remote)S2108(command;)S10 B2557(rsh)S10 R2722(normally)S3110(terminates)S3555(when)S3798(the)S3946(remote)S4251(command)S4672(does.)S2304 V1080(The)S1270(remote)S1583(username)S2002(used)S2219(is)S2319(the)S2475(same)S2715(as)S(your)184 2833 A3051(local)S3281(username,)S3726(unless)S(you)150 4011 A4195(specify)S4520(a)S4599(different)S4981(remote)S2424 V1080(name)S1331(with)S1543(the)S10 B-11699(-)S10 B1756(l)S10 R1817(option.)S2156(This)S2368(remote)S2681(name)S2932(must)S3160(be)S3288(equivalent)S3740(\(in)S3885(the)S4041(sense)S4292(of)S10 B4409(rlogin)S10 R4666(\(1\)\))S4850(to)S4960(the)S5115(ori-)S2544 V1080(ginating)S(account;)341 1434 A1800(no)S1925(provision)S2329(is)S2421(made)S2664(for)S2807(specifying)S3251(a)S3321(password)S3726(with)S3930(a)S4000(command.)S2712 V1080(If)S(you)150 1173 A1348(omit)S10 I(command)391 1557 A10 R1956(,)S2006(then)S2204(instead)S2514(of)S2623(executing)S3039(a)S3110(single)S3376(command,)S(you)150 3823 A(will)157 3999 A4182(be)S(logged)273 4303 A4602(in)S4706(on)S4832(the)S4981(remote)S2832 V1080(host)S1272(using)S10 B1514(rlogin)S10 R1771(\(1\).)S3000 V1080(Shell)S1316(metacharacters)S1951(which)S2226(are)S2379(not)S(quoted)273 2536 A2838(are)S2991(interpreted)S3458(on)S3588(local)S3814(machine,)S4210(while)S(quoted)273 4464 A4767(metacharac-)S3120 V1080(ters)S1251(are)S1400(interpreted)S1862(on)S1987(the)S2135(remote)S2440(machine.)S2856(Thus)S3082(the)S3230(command)S3288 V1440(rsh)S1588(otherhost)S1987(cat)S2130(remote\256le)S2564(>>)S2703(local\256le)S3456 V1080(appends)S1434(the)S1582(remote)S1887(\256le)S10 I2041(remote\256le)S10 R2469(to)S2572(the)S2720(local\256le)S10 I3070(local\256le)S10 R3402(,)S3452(while)S3624 V1440(rsh)S1588(otherhost)S1987(cat)S2130(remote\256le)S2564(">>")S2785(otherremote\256le)S3792 V1080(appends)S10 I1434(remote\256le)S10 R1862(to)S10 I1965(otherremote\256le)S10 R2588(.)S3960 V9 R720(O)S722(OP)S790(PT)S842(TI)S900(IO)S933(ON)S1001(NS)S1069(S)S4080 V10 B-11080(-)S10 B1137(l)S10 I1190(username)S4200 V10 R1440(Specify)S1773(the)S1921(remote)S2226(user)S2419(name.)S4368 V10 B-11080(-)S10 B1137(n)S10 R(Connect)335 1440 A1808(standard)S(input)206 2182 A2421(of)S2538(the)S2694(remote)S3007(command)S3436(to)S3547(/dev/null.)S3987(Do)S4143(this)S4321(if)S10 B4417(rsh)S10 R(should)267 4591 A4892(not)S5054(inad-)S4488 V1440(vertently)S1823(read)S2022(from)S2243(standard)S(input.)231 2609 A4656 V9 R720(S)S722(SE)S774(EE)S832(E)S928(A)S930(AL)S998(LS)S1056(SO)S1108(O)S4776 V10 B1080(rcp)S10 R1226(\(1\),)S10 B1394(rlogin)S10 R1651(\(1\),)S10 B1819(rhosts)S10 R2082(\(5\).)S4944 V9 R720(B)S722(BU)S784(UG)S852(GS)S920(S)S5064 V10 R1080(You)S(cannot)268 1278 A1571(run)S1730(an)S1850(interactive)S2301(command)S2722(\(like)S10 B2932(rogue)S10 R3178(\(6\))S3321(or)S10 B3430(vi)S10 R3508(\(1\)\);)S3713(use)S10 B3872(rlogin)S10 R4129(\(1\).)S7903 V720(Page)S941(1)S2654(\()S2696(April)S2934(29,)S(1985)200 3084 A3292(\))S4455(September)S4911(13,)S(1996)200 5061 A8143 VEP%%Trailer%%DocumentFonts: Times-Roman Times-Bold Times-Italic%%Pages: 1

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -