- 论坛徽章:
- 0
|
机器改名
Maintenance Commands setuname(1M)\r\n\r\nNAME\r\n setuname - change machine information\r\n\r\nSYNOPSIS\r\n setuname [ -t ] [ -n node ] [ -s name ]\r\n\r\nDESCRIPTION\r\n The setuname utility changes the parameter value for the\r\n system name and node name. Each parameter can be changed\r\n using setuname and the appropriate option.\r\n\r\n Either or both the -s and -n options must be given when\r\n invoking setuname.\r\n\r\n The system architecture may place requirements on the size\r\n of the system and network node name. The command will issue\r\n a fatal warning message and an error message if the name\r\n entered is incompatible with the system requirements.\r\n\r\nOPTIONS\r\n The following options are supported:\r\n\r\n -t Temporary change. No attempt will be made to create a\r\n permanent change.\r\n\r\n -n node\r\n Changes the node name. node specifies the new network\r\n node name and can consist of alphanumeric characters\r\n and the special characters dash, underbar, and dollar\r\n sign.\r\n\r\n -s name\r\n Changes the system name. name specifies new system\r\n name and can consist of alphanumeric characters and\r\n the special characters dash, underbar, and dollar\r\n sign.\r\n\r\nsetuname我没有用过  |
|