3.145.173.112 |    

Navigation

Google Advertisement

Die Funktion hostname() ermittelt mit Hilfe des Unix-Befehl hostname, den Hostnamen des aktuellen Systems.

hostname
  1. # ********************************************
  2. # The function return the hostname of the
  3. # current system by using the unix command (hostname).
  4.  
  5. sub hostname {
  6.  
  7. my ($hostname) = ( `hostname` =~ m/([^\n]+)/g );
  8. return $hostname;
  9.  
  10. }
Parsed in 0.001 seconds at 212.17 KB/s

Search
 
Full text search by name and content of a snippet.

User online
There are 6 users online.

Tags Cloud

Latest snippets
str2seconds
(Bash::Function)
is_integer
(Bash::Function)
file_rotate
(Bash::Function)
confirm
(Bash::Function)
is_workingtime
(Bash::Function)
last day of last month
(Bash::Snippets)
crypt_apr1_md5
(PHP::Function)
crypt_apr1_md5
(Perl::Function)
transparent
(CSS)
rfc2822Toiso8601
(PHP::Function)