linux chownÓëchgrp µÄÓ÷¨
Ö¸ÁîÃû³Æ : chown
ʹÓÃȨÏÞ : root
ʹÓ÷½Ê½ :
chown [-cfhvR] [--version] user[:group] file...
˵Ã÷ : ÀûÓà chown ¿ÉÒÔ½«µµ°¸µÄÓµÓÐÕß¼ÓÒԸı䡣Õâ¸öÖ¸ÁîÖ»ÓÐÊÇÓÉϵͳ¹ÜÀíÕß(root)ËùʹÓã¬Ò»°ãʹÓÃÕßûÓÐȨÏÞ¿ÉÒԸıä±ðÈ˵ĵµ°¸ÓµÓÐÕߣ¬Ò²Ã»ÓÐȨÏÞ¿ÉÒÔ×Ô¼ºµÄµµ°¸ÓµÓÐÕ߸ÄÉèΪ±ðÈË¡£Ö»ÓÐϵͳ¹ÜÀíÕß(root)²ÅÓÐÕâÑùµÄȨÏÞ¡£
²ÎÊý£º
-c»ò-change£º×÷ÓÃÓë-vÏàËÆ£¬µ«Ö»´«»ØÐ޸ĵIJ¿·Ö
-f»ò--quiet»ò--silent£º²»ÏÔʾ´íÎóÐÅÏ¢
-h»ò--no-dereference£ºÖ»¶Ô·ûºÅÁ´½ÓµÄÎļþ×öÐ޸ģ¬¶ø²»¸ü¸ÄÆäËûÈκÎÏà¹ØÎļþ
-R»ò-recursive£ºµÝ¹é´¦Àí£¬½«Ö¸¶¨Ä¿Â¼ÏµÄËùÓÐÎļþ¼°×ÓĿ¼һ²¢´¦Àí
-v»ò--verbose£ºÏÔʾָÁîÖ´Ðйý³Ì
--dereference£º×÷ÓúÍ-h¸ÕºÃÏà·´
--help£ºÏÔʾÔÚÏß˵Ã÷
--reference=£º°ÑÖ¸¶¨Îļþ»òĿ¼µÄËùÓÐÕßÓëËùÊô×飬ͳͳÉèÖóɺͲο¼Îļþ»òĿ¼µÄËùÓÐÕßÓëËùÊô×éÏàͬ
--version£ºÏÔʾ°æ±¾ÐÅÏ¢
chgrpÃüÁî
¡¡ ¹¦ÄÜ£º¸Ä±äÎļþ»òĿ¼ËùÊôµÄ×é¡£
¡¡¡¡ Óï·¨£ºchgrp [Ñ¡Ïî] group filename?
¡¡¡¡ ¸ÃÃüÁî¸Ä±äÖ¸¶¨Ö¸¶¨ÎļþËùÊôµÄÓû§×é¡£ÆäÖÐgroup¿ÉÒÔÊÇÓû§×éID£¬Ò²¿ÉÒÔÊÇ/etc/groupÎļþÖÐÓû§×éµÄ×éÃû¡£ÎļþÃûÊÇÒÔ¿Õ¸ñ·Ö¿ªµÄÒª¸Ä±äÊô×éµÄÎļþÁÐ±í£¬Ö§³ÖͨÅä·û¡£Èç¹ûÓû§²»ÊǸÃÎļþµÄÊôÖ÷»ò³¬¼¶Óû§£¬Ôò²»Äܸıä¸ÃÎļþµÄ×é¡£
¡¡¡¡ ¸ÃÃüÁîµÄ¸÷Ñ¡ÏÒåΪ£º
¡¡¡¡ - R µÝ¹éʽµØ¸Ä±äÖ¸¶¨Ä¿Â¼¼°ÆäϵÄËùÓÐ×ÓĿ¼ºÍÎļþµÄÊô×é
Ïà¹ØÎĵµ£º
¡¡Èç¹ûÄã°®ºÃѧϰ֪ʶ£¬ÓÈÆäÊÇLinux²Ù×÷ϵͳ֪ʶ£¬Ëæ×ÅLinuxÓ¦ÓõÄÀ©Õ¹£¬Ðí¶àÅóÓÑ¿ªÊ¼½Ó´¥Linux£¬¿ÉÄã²»ÖªµÀÈ¥ÄÄÀïÕÒµ½ÕâЩ֪ʶ£¬À´ÕâÀÈÃÄã¸ü¼ÓÁ˽âLinuxѧϰ·½·¨¡£ÈÃÄãÈ«ÃæÕÆÎÕLinuxѧϰ·½·¨¡£
1£®Ñ§Ï°µÄÄ¿µÄ
¡¡¡¡Í¨¹ýLinuxµÄѧϰÕÆÎÕUNIXµÄÄ¿µÄÏë±Ø²»Óöà˵ÁË£¬ÔÚÕâ¸öÍøÂçÈ˲ÅÉí¼Û±¶ÔöµÄÄê´ú£¬Ï ......
LR¼à¿Øwindows¡¢linux¡¢UNIX¡¢IBM AIXϵͳ·½·¨
Ò»¡¢¼à¿Øwindowsϵͳ£º
1¡¢¼àÊÓÁ¬½ÓÇ°µÄ×¼±¸¹¤×÷
1£©½øÈë±»¼àÊÓwindowsϵͳ£¬¿ªÆôÒÔ϶þ¸ö·þÎñRemote Procedure Call(RPC) ºÍRemote Registry Service (¿ªÊ¼—)ÔËÐÐ ÖÐÊäÈëservices.msc£¬¿ªÆô¶ÔÓ¦·þÎñ¼´¿É)¡£
&nbs ......
linuxÔ¶³Ì¸´ÖÆ linuxÔ¶³Ì¿½±´
Ô¶³ÌÉÏ´«Îļþ¼Ð
¾ÙÀý£¬
ÎÒÒª½«±¾µØÎļþ¼Ð/home/administrator/Desktop/old/driver/test/
Ô¶³ÌÉÏ´«µ½ 192.168.62.10 Õą̂»úÆ÷µÄ/root/Îļþ¼ÐÏ£¬Ê¹ÓÃÔ¶³Ì¶ËµÄrootÓû§×÷ΪµÇ½Óû§
scp -r /home/administrator/Desktop/old/driver/test/ root@192.168.62.10:/root/
Ô¶³ÌÉÏ´«Îļþ¼Ð
¾ÙÀ ......
ʹÓ÷½Ê½ : chmod [-cfvR] [--help] [--version] mode file...
˵Ã÷ : Linux/Unix µÄµµ°¸´æȡȨÏÞ·ÖΪÈý¼¶ : µµ°¸ÓµÓÐÕß¡¢Èº×é¡¢ÆäËû¡£ÀûÓà chmod ¿ÉÒÔ½åÒÔ¿ØÖƵµ°¸ÈçºÎ±»ËûÈËËù´æÈ¡¡£
mode : ȨÏÞÉ趨×Ö´®£¬¸ñʽÈçÏ : [ugoa...][[+-=][rwxX]...][,...]£¬ÆäÖÐu ±íʾ¸Ãµµ°¸µÄÓµÓÐÕߣ¬g ±íʾÓë¸Ãµµ°¸µÄÓµÓÐÕßÊôÓÚͬһ¸öÈºÌ ......