Difference between revisions of "$host"

From Scriptwiki
Jump to: navigation, search
(Page created.)
 
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Returns your current set hostname
+
Returns your Local host name.
 
  $host
 
  $host
This can be edited with the [[/localinfo|localinfo]] command.
+
* This function has no parameters.
 
 
 
== Example ==
 
== Example ==
 
  [[echo]] -ag My local hostname is $host
 
  [[echo]] -ag My local hostname is $host
 
+
== See Also ==
== Also see ==
+
* [[$ip]]
* [[localinfo]]
+
* [[localinfo|/localinfo]]
 +
[[Category:Identifiers]]

Latest revision as of 18:56, 7 April 2008

Returns your Local host name.

$host
  • This function has no parameters.

Example

echo -ag My local hostname is $host

See Also