Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rcmd windows????

Status
Not open for further replies.

chomps303

MIS
Sep 30, 2003
83
US
Does anyone know of a utility for Windows that I can use to do a rcmd command on a unix box?

Thanks

Brandt Eppler
PMP
 
You can use "rexec" and pass it a username. I don't know how to prevent it from prompting for a password, though.

C:\Documents and Settings\bozo>rexec unixbox -l bozo df -kv
Password (unixbox:):
Mount Dir Filesystem blocks used free %used
/ /dev/root 1965998 1715913 250085 88%
/stand /dev/boot 15000 9310 5690 63%
/usr2 /dev/d1150 2110464 1733323 377141 83%
/usr3 /dev/d1250 35913728 31107197 4806531 87%
/usr4 /dev/d1350 4459520 4317064 142456 97%
/usr5 /dev/d81150 4094976 2888430 1206546 71%
/usr6 /dev/d81250 8889344 8434303 455041 95%
/usr8 /dev/d95050 8909820 6635454 2274366 75%
 
Man I love this board!!!!

Your suggestion work exactly as I needed!!!

THANKS

Brandt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top