[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

Command tsh

NAME

Command tsh :: Target Set Hostname

SYNOPSIS

tsh TargetName Hostname

DESCRIPTION

The tsh command is used to set the hostname of a target. The parameters are the target name and the new host name. The host name can be an IP address or a full qualified host name. If this property is not set, the target name is considered to be the name of the host to contact. Using this property is useful to keep short friendly names for the target name.

EXAMPLE

In this example, a target `my_computer' is created and its host name is defined with tsh command. ti is used to print target information. You can verify that `Host Name' property value is changed.

 
$ dio87d -d
$ dio87c ta my_computer
$
$ dio87c tsh my_computer "my-computer.at-home.world"
$
$ dio87c ti my_computer
Target name:    my_computer
Description:
Host Name:      my-computer.at-home.world
IP Port:        9997
$

ACCESS CONTROL

This function requires the `manage' privilege for the `target' command family.

SEE ALSO



This document was generated by dom on September, 11 2005 using texi2html