<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
	<id>https://wiki.cabal.mx/index.php?action=history&amp;feed=atom&amp;title=Comandos_de_la_terminal%2Fchgrp</id>
	<title>Comandos de la terminal/chgrp - Historial de revisiones</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.cabal.mx/index.php?action=history&amp;feed=atom&amp;title=Comandos_de_la_terminal%2Fchgrp"/>
	<link rel="alternate" type="text/html" href="https://wiki.cabal.mx/index.php?title=Comandos_de_la_terminal/chgrp&amp;action=history"/>
	<updated>2026-04-06T20:15:38Z</updated>
	<subtitle>Historial de revisiones para esta página en el wiki</subtitle>
	<generator>MediaWiki 1.32.1</generator>
	<entry>
		<id>https://wiki.cabal.mx/index.php?title=Comandos_de_la_terminal/chgrp&amp;diff=5263&amp;oldid=prev</id>
		<title>Rrc en 20:51 5 mar 2014</title>
		<link rel="alternate" type="text/html" href="https://wiki.cabal.mx/index.php?title=Comandos_de_la_terminal/chgrp&amp;diff=5263&amp;oldid=prev"/>
		<updated>2014-03-05T20:51:57Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
* [[:#chgrp | chgrp]]&lt;br /&gt;
&lt;br /&gt;
== chgrp ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ chgrp --help&lt;br /&gt;
Usage: chgrp [OPTION]... GROUP FILE...&lt;br /&gt;
  or:  chgrp [OPTION]... --reference=RFILE FILE...&lt;br /&gt;
Change the group of each FILE to GROUP.&lt;br /&gt;
With --reference, change the group of each FILE to that of RFILE.&lt;br /&gt;
&lt;br /&gt;
  -c, --changes          like verbose but report only when a change is made&lt;br /&gt;
  -f, --silent, --quiet  suppress most error messages&lt;br /&gt;
  -v, --verbose          output a diagnostic for every file processed&lt;br /&gt;
      --dereference      affect the referent of each symbolic link (this is&lt;br /&gt;
                         the default), rather than the symbolic link itself&lt;br /&gt;
  -h, --no-dereference   affect symbolic links instead of any referenced file&lt;br /&gt;
                         (useful only on systems that can change the&lt;br /&gt;
                         ownership of a symlink)&lt;br /&gt;
      --no-preserve-root  do not treat &amp;#039;/&amp;#039; specially (the default)&lt;br /&gt;
      --preserve-root    fail to operate recursively on &amp;#039;/&amp;#039;&lt;br /&gt;
      --reference=RFILE  use RFILE&amp;#039;s group rather than specifying a&lt;br /&gt;
                         GROUP value&lt;br /&gt;
  -R, --recursive        operate on files and directories recursively&lt;br /&gt;
&lt;br /&gt;
The following options modify how a hierarchy is traversed when the -R&lt;br /&gt;
option is also specified.  If more than one is specified, only the final&lt;br /&gt;
one takes effect.&lt;br /&gt;
&lt;br /&gt;
  -H                     if a command line argument is a symbolic link&lt;br /&gt;
                         to a directory, traverse it&lt;br /&gt;
  -L                     traverse every symbolic link to a directory&lt;br /&gt;
                         encountered&lt;br /&gt;
  -P                     do not traverse any symbolic links (default)&lt;br /&gt;
&lt;br /&gt;
      --help     display this help and exit&lt;br /&gt;
      --version  output version information and exit&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
  chgrp staff /u      Change the group of /u to &amp;quot;staff&amp;quot;.&lt;br /&gt;
  chgrp -hR staff /u  Change the group of /u and subfiles to &amp;quot;staff&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Report chgrp bugs to bug-coreutils@gnu.org&lt;br /&gt;
GNU coreutils home page: &amp;lt;http://www.gnu.org/software/coreutils/&amp;gt;&lt;br /&gt;
General help using GNU software: &amp;lt;http://www.gnu.org/gethelp/&amp;gt;&lt;br /&gt;
For complete documentation, run: info coreutils &amp;#039;chgrp invocation&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ chgrp --version&lt;br /&gt;
chgrp (GNU coreutils) 8.21&lt;br /&gt;
Copyright (C) 2013 Free Software Foundation, Inc.&lt;br /&gt;
License GPLv3+: GNU GPL version 3 or later &amp;lt;http://gnu.org/licenses/gpl.html&amp;gt;.&lt;br /&gt;
This is free software: you are free to change and redistribute it.&lt;br /&gt;
There is NO WARRANTY, to the extent permitted by law.&lt;br /&gt;
&lt;br /&gt;
Written by David MacKenzie and Jim Meyering.&lt;br /&gt;
&lt;br /&gt;
[root@Llawyr ComandosDeLaTerminal]# ls -al typescript &lt;br /&gt;
-rw------- 1 rrc rrc 1359 Nov 16 13:16 typescript&lt;br /&gt;
[root@Llawyr ComandosDeLaTerminal]# chgrp bin typescript &lt;br /&gt;
[root@Llawyr ComandosDeLaTerminal]# ls -al typescript &lt;br /&gt;
-rw------- 1 rrc bin 1359 Nov 16 13:16 typescript&lt;br /&gt;
&lt;br /&gt;
[root@Llawyr ComandosDeLaTerminal]# ls -alR Carpeta1/&lt;br /&gt;
Carpeta1/:&lt;br /&gt;
total 12&lt;br /&gt;
drwxr-xr-x  3 root bin 4096 Mar  5 11:45 ./&lt;br /&gt;
drwx------ 12 rrc  rrc 4096 Mar  5 11:46 ../&lt;br /&gt;
drwxr-xr-x  3 root bin 4096 Mar  4 12:44 Carpeta2/&lt;br /&gt;
lrwxrwxrwx  1 root bin   11 Mar  5 11:45 ChownPrueba -&amp;gt; ChownPrueba&lt;br /&gt;
&lt;br /&gt;
Carpeta1/Carpeta2:&lt;br /&gt;
total 12&lt;br /&gt;
drwxr-xr-x 3 root bin 4096 Mar  4 12:44 ./&lt;br /&gt;
drwxr-xr-x 3 root bin 4096 Mar  5 11:45 ../&lt;br /&gt;
drwxr-xr-x 2 root bin 4096 Mar  4 12:44 Carpeta3/&lt;br /&gt;
&lt;br /&gt;
Carpeta1/Carpeta2/Carpeta3:&lt;br /&gt;
total 8&lt;br /&gt;
drwxr-xr-x 2 root bin 4096 Mar  4 12:44 ./&lt;br /&gt;
drwxr-xr-x 3 root bin 4096 Mar  4 12:44 ../&lt;br /&gt;
&lt;br /&gt;
[root@Llawyr ComandosDeLaTerminal]# chgrp -R rrc Carpeta1&lt;br /&gt;
[root@Llawyr ComandosDeLaTerminal]# ls -alR Carpeta1/&lt;br /&gt;
Carpeta1/:&lt;br /&gt;
total 12&lt;br /&gt;
drwxr-xr-x  3 root rrc 4096 Mar  5 11:45 ./&lt;br /&gt;
drwx------ 12 rrc  rrc 4096 Mar  5 11:46 ../&lt;br /&gt;
drwxr-xr-x  3 root rrc 4096 Mar  4 12:44 Carpeta2/&lt;br /&gt;
lrwxrwxrwx  1 root rrc   11 Mar  5 11:45 ChownPrueba -&amp;gt; ChownPrueba&lt;br /&gt;
&lt;br /&gt;
Carpeta1/Carpeta2:&lt;br /&gt;
total 12&lt;br /&gt;
drwxr-xr-x 3 root rrc 4096 Mar  4 12:44 ./&lt;br /&gt;
drwxr-xr-x 3 root rrc 4096 Mar  5 11:45 ../&lt;br /&gt;
drwxr-xr-x 2 root rrc 4096 Mar  4 12:44 Carpeta3/&lt;br /&gt;
&lt;br /&gt;
Carpeta1/Carpeta2/Carpeta3:&lt;br /&gt;
total 8&lt;br /&gt;
drwxr-xr-x 2 root rrc 4096 Mar  4 12:44 ./&lt;br /&gt;
drwxr-xr-x 3 root rrc 4096 Mar  4 12:44 ../&lt;br /&gt;
&lt;br /&gt;
[root@Llawyr ComandosDeLaTerminal]# ls -al typescript &lt;br /&gt;
-rw------- 1 rrc bin 1359 Nov 16 13:16 typescript&lt;br /&gt;
[root@Llawyr ComandosDeLaTerminal]# chgrp -c rrc typescript &lt;br /&gt;
changed group of ‘typescript’ from bin to rrc&lt;br /&gt;
[root@Llawyr ComandosDeLaTerminal]# ls -al typescript &lt;br /&gt;
-rw------- 1 rrc rrc 1359 Nov 16 13:16 typescript&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Comandos de la terminal]]&lt;/div&gt;</summary>
		<author><name>Rrc</name></author>
		
	</entry>
</feed>