博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
CHGRP(1)
阅读量:7174 次
发布时间:2019-06-29

本文共 2390 字,大约阅读时间需要 7 分钟。

  hot3.png

CHGRP(1)             User Commands                  CHGRP(1)
NAME
       chgrp - change group ownership
SYNOPSIS
       chgrp [OPTION]... GROUP FILE...
       chgrp [OPTION]... --reference=RFILE FILE...
DESCRIPTION
       Change  the  group of each FILE to GROUP.  With --reference, change the
       group of each FILE to that of RFILE.
       -c, --changes
          like verbose but report only when a change is made
       --dereference
          affect the referent of each symbolic link (this is the default),
          rather than the symbolic link itself
       -h, --no-dereference
          affect each symbolic link instead of any referenced file (useful
          only on systems that can change the ownership of a symlink)
       --no-preserve-root
          do not treat ‘/’ specially (the default)
       --preserve-root
          fail to operate recursively on ‘/’
       -f, --silent, --quiet
          suppress most error messages
       --reference=RFILE
          use RFILE’s group rather than specifying a GROUP value
       -R, --recursive
          operate on files and directories recursively
       -v, --verbose
          output a diagnostic for every file processed
       The following options modify how a hierarchy is traversed when  the  -R
       option  is  also     specified.   If  more than one is specified, only the
       final one takes effect.
       -H     if a command line argument is a symbolic link  to     a  directory,
          traverse it
       -L     traverse every symbolic link to a directory encountered
       -P     do not traverse any symbolic links (default)
       --help display this help and exit
       --version
          output version information and exit
EXAMPLES
       chgrp staff /u
          Change the group of /u to "staff".
       chgrp -hR staff /u
          Change the group of /u and subfiles to "staff".
AUTHOR
       Written by David MacKenzie and Jim Meyering.
REPORTING BUGS
       Report chgrp bugs to bug-coreutils@gnu.org
       GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
       General help using GNU software: <http://www.gnu.org/gethelp/>
       Report chgrp translation bugs to <http://translationproject.org/team/>
COPYRIGHT
       Copyright  ©  2010  Free Software Foundation, Inc.  License GPLv3+: GNU
       GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
       This is free software: you are free  to    change    and  redistribute  it.
       There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
       The full documentation for chgrp is maintained as a Texinfo manual.  If
       the info and chgrp programs are properly installed at  your  site,  the
       command
          info coreutils 'chgrp invocation'
       should give you access to the complete manual.
GNU coreutils 8.4           June 2012                  CHGRP(1)

转载于:https://my.oschina.net/vimer/blog/134386

你可能感兴趣的文章
Windows Community Toolkit 4.0 - DataGrid - Part01
查看>>
WMI入门(一):什么是WMI
查看>>
Windows Vista for Developers——第四部分:用户帐号控制(User Account Control,UAC)
查看>>
说说九个CSS3结构性伪类选择器
查看>>
Cowboy 源码分析(十九)
查看>>
linux pstack命令总结
查看>>
Scrum为什么不喜欢“来自客户的频繁变更”?
查看>>
RadioGroup控件实现单选题效果
查看>>
PL/SQL Developer使用技巧|F=Forwarding|
查看>>
工作三年的思考
查看>>
Java工具类 Apache Commons:commons-lang
查看>>
C++ 原来 const 中所使用的函数 必须 全都具有 const 才行
查看>>
浏览器中 for in 反射 对象成员 的差异
查看>>
关于Linux启动时挂载rootfs的几种方式
查看>>
vs2015 系统找不到指定的文件(异常来自HRESULT:0x80070002)问题的解决方法
查看>>
tomcat之 Tomcat 7.0.78 单机多实例配置
查看>>
2018年总结
查看>>
34个漂亮的应用程序后台管理界面
查看>>
java JDK6的可变参数
查看>>
初入职场程序员的五大钻石法则
查看>>