Kawm Raw Command Linux

Lub npe

rsh-tej thaj chaw deb plhaub

Synopsis

rsh [- Kdnx ] [- l username ] party [hais kom ua]

Kev piav qhia

Rsh executes txib ntawm tus tswv tsev

Rsh luam nws cov lus tawm tswv yim rau kev hais kom ua tej thaj chaw deb, tus qauv tso zis rau ntawm qhov chaw taws teeb ntawm nws qhov kev tso zis, thiab qhov yuam kev ntawm qhov chaw hais kom ua rau nws qhov yuam kev. Kev cuam tshuam, txiav tawm thiab xaus tseg cov teeb meem yog tawm tsam kev hais kom ua; rsh nquag tso thaum qhov kev hais kom ua tsis yog. Cov kev xaiv muaj raws li nram no:

-d

- d xaiv puv ntawm socket debugging (siv setsockopt (2)) nyob rau TCP cov chaw nyob rau kev sib txuas lus nrog cov chaw taws teeb chaw.

-l

Yog vim li cas, cov username hauv chaw taws teeb yog tib yam li cov username hauv zos. Qhov l - l xaiv tso cai rau lub npe rau tej thaj chaw deb.

-n

Cov - n kev xaiv redirects cov tswv yim los ntawm tus tshwj xeeb ntaus ntawv / dev / thov (saib Sx HUG seem ntawm nplooj ntawv qhia).

Yog hais tias tsis muaj kev hais qhia, koj yuav tsum muab tso rau hauv cov chaw taws teeb nrug siv rlogin (1).

Plhaub metacharacters uas tsis quoted yog txhais hauv zos tshuab, thaum quoted metacharacters yog txhais ntawm lub tshuab tej thaj chaw deb. Piv txwv, hais kom ua

rsh anotherhost miv remotefile >> localfile

appends cov ntaub ntawv tej thaj chaw deb remotefile rau cov ntaub ntawv hauv zos localfile thaum

rsh anotherhost miv remotefile ">>" lwm_remotefile

appends remotefile rau lwm_remotefile