2014-01-10 21:15:22 +01:00
|
|
|
---
|
2015-08-21 07:35:07 +02:00
|
|
|
doc/coreutils.texi | 42 +-----------------------------------------
|
|
|
|
1 file changed, 1 insertion(+), 41 deletions(-)
|
2014-01-10 21:15:22 +01:00
|
|
|
|
2010-07-19 14:13:47 +02:00
|
|
|
Index: doc/coreutils.texi
|
|
|
|
===================================================================
|
2016-02-11 12:31:45 +01:00
|
|
|
--- doc/coreutils.texi.orig
|
|
|
|
+++ doc/coreutils.texi
|
2016-12-05 16:28:40 +01:00
|
|
|
@@ -70,7 +70,6 @@
|
2010-07-19 14:13:47 +02:00
|
|
|
* groups: (coreutils)groups invocation. Print group names a user is in.
|
|
|
|
* head: (coreutils)head invocation. Output the first part of files.
|
2011-04-15 20:12:13 +02:00
|
|
|
* hostid: (coreutils)hostid invocation. Print numeric host identifier.
|
2010-07-19 14:13:47 +02:00
|
|
|
-* hostname: (coreutils)hostname invocation. Print or set system name.
|
|
|
|
* id: (coreutils)id invocation. Print user identity.
|
2014-08-03 15:35:38 +02:00
|
|
|
* install: (coreutils)install invocation. Copy files and set attributes.
|
2010-07-19 14:13:47 +02:00
|
|
|
* join: (coreutils)join invocation. Join lines on a common field.
|
2016-12-05 16:28:40 +01:00
|
|
|
@@ -202,7 +201,7 @@ Free Documentation License''.
|
2012-03-11 20:03:37 +01:00
|
|
|
* File name manipulation:: dirname basename pathchk mktemp realpath
|
2010-07-19 14:13:47 +02:00
|
|
|
* Working context:: pwd stty printenv tty
|
|
|
|
* User information:: id logname whoami groups users who
|
|
|
|
-* System context:: date arch nproc uname hostname hostid uptime
|
2011-04-15 20:12:13 +02:00
|
|
|
+* System context:: date arch nproc uname hostid uptime
|
2010-07-19 14:13:47 +02:00
|
|
|
* SELinux context:: chcon runcon
|
2013-04-26 07:55:50 +02:00
|
|
|
* Modified command invocation:: chroot env nice nohup stdbuf timeout
|
2010-07-19 14:13:47 +02:00
|
|
|
* Process control:: kill
|
2016-12-05 16:28:40 +01:00
|
|
|
@@ -423,7 +422,6 @@ System context
|
2010-07-19 14:13:47 +02:00
|
|
|
* date invocation:: Print or set system date and time
|
|
|
|
* nproc invocation:: Print the number of processors
|
|
|
|
* uname invocation:: Print system information
|
|
|
|
-* hostname invocation:: Print or set system name
|
2011-04-15 20:12:13 +02:00
|
|
|
* hostid invocation:: Print numeric host identifier
|
2010-07-19 14:13:47 +02:00
|
|
|
* uptime invocation:: Print system uptime and load
|
|
|
|
|
2016-12-05 16:28:40 +01:00
|
|
|
@@ -15073,7 +15071,6 @@ information.
|
2010-07-19 14:13:47 +02:00
|
|
|
* arch invocation:: Print machine hardware name.
|
|
|
|
* nproc invocation:: Print the number of processors.
|
|
|
|
* uname invocation:: Print system information.
|
|
|
|
-* hostname invocation:: Print or set system name.
|
2011-04-15 20:12:13 +02:00
|
|
|
* hostid invocation:: Print numeric host identifier.
|
2010-07-19 14:13:47 +02:00
|
|
|
* uptime invocation:: Print system uptime and load.
|
|
|
|
@end menu
|
2016-12-05 16:28:40 +01:00
|
|
|
@@ -15912,15 +15909,6 @@ Note this is non-portable (even across G
|
2011-04-15 20:12:13 +02:00
|
|
|
Print the machine hardware name (sometimes called the hardware class
|
|
|
|
or hardware type).
|
2010-07-19 14:13:47 +02:00
|
|
|
|
2011-04-15 20:12:13 +02:00
|
|
|
-@item -n
|
|
|
|
-@itemx --nodename
|
|
|
|
-@opindex -n
|
|
|
|
-@opindex --nodename
|
|
|
|
-@cindex hostname
|
|
|
|
-@cindex node name
|
|
|
|
-@cindex network node name
|
|
|
|
-Print the network node hostname.
|
|
|
|
-
|
|
|
|
@item -p
|
|
|
|
@itemx --processor
|
|
|
|
@opindex -p
|
2016-12-05 16:28:40 +01:00
|
|
|
@@ -15974,34 +15962,6 @@ Print the kernel version.
|
2010-07-19 14:13:47 +02:00
|
|
|
|
|
|
|
@exitstatus
|
|
|
|
|
|
|
|
-
|
|
|
|
-@node hostname invocation
|
|
|
|
-@section @command{hostname}: Print or set system name
|
|
|
|
-
|
|
|
|
-@pindex hostname
|
|
|
|
-@cindex setting the hostname
|
|
|
|
-@cindex printing the hostname
|
|
|
|
-@cindex system name, printing
|
|
|
|
-@cindex appropriate privileges
|
|
|
|
-
|
|
|
|
-With no arguments, @command{hostname} prints the name of the current host
|
|
|
|
-system. With one argument, it sets the current host name to the
|
|
|
|
-specified string. You must have appropriate privileges to set the host
|
|
|
|
-name. Synopsis:
|
|
|
|
-
|
|
|
|
-@example
|
|
|
|
-hostname [@var{name}]
|
|
|
|
-@end example
|
|
|
|
-
|
|
|
|
-The only options are @option{--help} and @option{--version}. @xref{Common
|
|
|
|
-options}.
|
|
|
|
-
|
2015-08-21 07:35:07 +02:00
|
|
|
-@command{hostname} is not installed by default, and other packages
|
|
|
|
-also supply a @command{hostname} command, so portable scripts should
|
|
|
|
-not rely on its existence or on the exact behavior documented above.
|
|
|
|
-
|
2010-07-19 14:13:47 +02:00
|
|
|
-@exitstatus
|
|
|
|
-
|
|
|
|
|
2011-04-15 20:12:13 +02:00
|
|
|
@node hostid invocation
|
|
|
|
@section @command{hostid}: Print numeric host identifier
|