一个完整的java进程启动shell学习

hostname - show or set the systemâs host name

in the shell 

hname = `hostname` -  the variable hname will be current hostname after shell runs this line

uname -n 

你可能感兴趣的:(hostname)