2003/07/18 Xu Yunsheng
1. Change the group of users or directories
Usage: CHGRP group name user or directory
CHGRP Webdev apache
2, change the Owner of the user or directory
Usage: chown [-r] OWNER name user or directory
Example: chown -r xuys. // While all attributes of the current directory and its subdirectory are all all of the user Xuys.
3, pay the directory
Usage: chmod [-r] permission code catalog
Example: chomd -r 777 / var / www
4. Pack all files and directories in the current directory into the current directory.
Example: Tar Zcvf www20030718.tar.gz.
5, unzipped to the current directory
Example: Tar Zxcf www20030718.tar.gz