Difference between revisions of "$host"

From Scriptwiki
Jump to: navigation, search
m (added category)
m
 
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 ==
 
== See Also ==
* [[localinfo]]
+
* [[$ip]]
 
+
* [[localinfo|/localinfo]]
[[Category:Nick and Address Identifiers]]
+
[[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