Difference between revisions of "$host"

From Scriptwiki
Jump to: navigation, search
(Forgot period)
m
 
(2 intermediate revisions by one other user 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