initial commit
This commit is contained in:
9
chapter23/function_get_host
Executable file
9
chapter23/function_get_host
Executable file
@@ -0,0 +1,9 @@
|
||||
get_host ()
|
||||
{
|
||||
# Hostname of this machine
|
||||
|
||||
hostname
|
||||
|
||||
# uname -n # works too
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user