ServersLearn Windows XP Professional: Troubleshooting TCP/IP - Part 2 (Page 3) Page...

Learn Windows XP Professional: Troubleshooting TCP/IP – Part 2 (Page 3) Page 3

ServerWatch content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

– Telnet is a terminal emulation program that allows a user
to perform commands on a remote computer from a command

[-a][-e escape char][-f log file][-l user][-t term][host

  • -a
    Attempt automatic logon. Same as -l option except uses the
    currently logged on user’s name.
  • -e – Escape
    character to enter telnet client prompt.
  • -f – File
    name for client side logging.
  • -l
    Specifies the user name to log in with on the remote
    system. Requires that the remote system support the TELNET
    ENVIRON option.
  • -t
    Specifies terminal type. Supported term types are vt100,
    vt52, ansi and vtnt only.
  • host
    Specifies the hostname or IP address of the remote
    computer to connect to.
  • port
    Specifies a port number or service name.

– RCP copies files to and from computers running the RCP
service. RCP uses the Transmission Control Protocol (TCP) to
utilize the connected and reliable delivery of data between
the client and the host. RCP can be scripted in a batch file
and does not require a password. The remote host must be
running the RSHD service, and the users username must be
configured in the remote hosts .rhosts file. RCP is one of
the r-commands available on all UNIX systems.

Microsofts implementation of TCP/IP includes the RCP
client software but not rshd services.

RCP [-a | -b] [-h] [-r] [host][.user:]source [host][.user:]

  • -a
    Specifies ASCII transfer mode. This mode converts the EOL
    character to a carriage return for UNIX and a carriage
    return/line feed for personal computers. This is the
    default transfer mode.
  • -b
    Specifies binary image transfer mode.
  • -h
    Transfers hidden files.
  • -r – Copies
    the contents of all subdirectories; destination must be a
  • host
    Specifies the local or remote host. If host is specified
    as an IP address OR if host name contains dots, you must
    specify the user.
  • .user:
    Specifies a user name to use, rather than the current user
  • source
    Specifes the files to copy.
  • pathdestination – Specifies the path relative to the logon
    directory on the remote host. Use the escape characters (, “, or ‘) in remote paths to use wildcard characters on
    the remote host.

Get the Free Newsletter!

Subscribe to Daily Tech Insider for top news, trends & analysis

Latest Posts

Related Stories