Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Linux/Ubuntu chmodÃüÁîÏê½âʹÓøñʽºÍ·½·¨

ÔÚ Ubuntu Linux ÖÐÓÃÔ´ÂëÎļþ°²×°Èí¼þ
ʱ¾­³£¶¼»áÓõ½chmod
ÃüÁîÀ´¸ü¸ÄÎļþµÄȨÏÞʹÆäÔÚ°²×°Ê±ÓÐÖ´ÐеÄȨÏÞ¡£ÓÉÓÚ Ubuntu Linux ĬÈϲ»ÄÜÓÃrootÕË»§À´µÇ¼ËùÒÔÔÚÓÃchmodÃüÁîÀ´¸ü¸ÄÎļþµÄȨÏÞʱÍùÍùÐèÒª½áºÏsudoÃüÁîÀ´Ê¹Óã¬Èç¹ûÄã¶ÔsudoÃüÁ²»Ì«Á˽⣬ÇëÏÈ¿´¿´±¾Õ¾µÄ¡¶sudoÃüÁîÏê½â¡·
chmod
Linux/Ubuntu
ϵͳÖÐÎļþµ÷ÓõÄȨÏÞ·ÖΪÈý¼¶:ÎļþÓµÓÐÕß(u
)¡¢Èº×é(g
)¡¢ÆäËû(o
)¡£ÓÃchmod¾Í¿ÉÒÔ¸ü¸ÄÎļþµÄȨÏÞ¡£chmod
ÊÇÒ»¸öÏ൱Áé»îµÄÃüÁ¶Ôͬһ¸öÎļþµÄȨÏÞµÄÐ޸ĿÉÒÔÓöàÖÖ·ç¸ñµÄÃüÁî¸ñʽÀ´ÊµÏÖ¡£
·½Ê½Ò»£º
Óï·¨¸ñʽ£º chmod [-vR] mode ÎļþÃû
²ÎÊý˵Ã÷:
mode ȨÏÞÉèÖÃ×Ö´®,¸ñʽΪ[ugoa] [+-=] [rwx]
u ±íʾÎļþµÄÓµÓÐÕß
g ±íʾÓë´ËÎļþÓµÓÐÕßÊôÓÚÒ»¸ö×éȺµÄÈË
o ±íʾÆäËûÈË
a ±íʾ°üº¬ÒÔÉÏÈýÕß¼´ÎļþÓµÓÐÕß(u
)¡¢Èº×é(g
)¡¢ÆäËû(o
)
+ ±íʾÔö¼ÓȨÏÞ
- ±íʾȡÏûȨÏÞ
= ±íʾΨһÉèÖÃȨÏÞ
r ±íʾÓжÁÈ¡µÄȨÏÞ
w ±íʾÓÐдÈëµÄȨÏÞ
x ±íʾÓÐÖ´ÐеÄȨÏÞ
-v ÏÔʾȨÏ޸ıäµÄÏêϸ×ÊÁÏ
-R ±íʾ¶Ôµ±Ç°Ä¿Â¼ÏµÄËùÓÐÎļþºÍ×ÓĿ¼½øÐÐÏàͬµÄȨÏÞ¸ü¸Ä
Àý£º
ÎÒÃÇÒª½«µ±Ç°Ä¿Â¼ÏÂownlinuxÕâ¸öÎļþµÄȨÏÞÐÞΪËùÓÐÓû§ÓµÓиÃÎļþµÄ¶ÁÈ¡¡¢Ð´Èë¡¢Ö´ÐеÄȨÏÞ¡£ÔÚÕâÀï¾ÍÐèÒª½áºÏsudoÃüÁîÀ´Ê¹Óã¬Èç¹ûÄã¶ÔsudoÃüÁ²»Ì«Á˽⣬ÇëÏÈ¿´¿´±¾Õ¾µÄ¡¶sudoÃüÁîÏê½â¡·
ownlinux@server:/var/www$ sudo chmod a+rwx ownlinux
[sudo] password for ownlinux: £¨´ËʱÊäÈëÄãµÄÃÜÂ룩
»òÕßʹÓÃ

ownlinux@server:/var/www$ sudo chmod ugo+rwx ownlinux
[sudo] password for ownlinux: £¨´ËʱÊäÈëÄãµÄÃÜÂ룩
ÃüÁî²»Ò»Ñù£¬µ«Ö´ÐкóµÄЧ¹ûÊÇÒ»ÑùµÄ¡£
·½Ê½¶þ£º
Óï·¨¸ñʽ£º chmod [-vR] [No] ÎļþÃû
²ÎÊý˵Ã÷:
No Èýλ´ú±íÏàӦȨÏÞµÄÊý×Ö
-v ÏÔʾȨÏ޸ıäµÄÏêϸ×ÊÁÏ
-R ±íʾ¶Ôµ±Ç°Ä¿Â¼ÏµÄËùÓÐÎļþºÍ×ÓĿ¼½øÐÐÏàͬµÄȨÏÞ¸ü¸Ä
¿ÉÄÜÕâÖÖ·½Ê½¶ÔÓÚ³õѧÕßÀ´ËµÓÐÒ»¶¨µÄÄѶȣ¬µ«ÕâÖÖ·½·¨Ñ§»áºóÔÚ¸ü¸ÄÎļþȨÏ޾ͱäµÃ·Ç³£µÄ¼òµ¥¡£ÏàÐÅͨ¹ýÎҵĽéÉÜ´ó¼Ò»áÕÆÎÕÖÖ·½·¨µÄ:)
Ê×ÏÈÁ˽âһ϶ÁÈ¡(r)¡¢Ð´Èë(w)¡¢Ö´ÐÐ(x)ÏàÓ¦µÄÊý×Ö±àºÅ£¬ÈçÏÂͼËùʾ

Èç¹ûÄã¼ÇסÁËÉÏͼËùʾµÄÊý×ֺͶÔÓ¦µÄȨÏÞ¾ÍÍùϱ߿´
¸Õ²ÅÒѾ­Ëµ¹ýÁË£¬[No]²ÎÊý ÊÇÈýλ´ú±íÏàӦȨÏÞµÄÊý×Ö¡£´Ó×óÏòÓÒ£¬µÚһλÊýѧ´ú±íÎļþÓµÓÐÕß(u
)µÄȨÏÞ¡¢Èº×é(g
)µÄȨÏÞ¡¢ÆäËû(o
)µÄȨÏÞ¡£Ã¿Ò»¸öÊý×־ͶÔÓ¦¸Ã¼¶Óû§ÓµÓеÄȨÏÞ¼´ÎªrwxÏàÓ¦µÄÊý×ÖÖ®ºÍ¡£ÕâÑù˵¿ÉÄÜ´ó¼Ò²»ÊǺÜÃ÷°×£¬ÎÒ»­ÁËÒ»Õűí°ïÖú´ó


Ïà¹ØÎĵµ£º

Linux ¹ÜÀí¹¤¾ß½éÉÜ

¡¾IT168 ·þÎñÆ÷
ѧԺ
¡¿
  LinuxÊÇÒ»¸ö¶àÓû§µÄ²Ù×÷ϵͳ
£¬ËýÓÐÍêÃÀµÄÓû§¹ÜÀí¹¤¾ß£¬ÕâЩ¹¤¾ß°üÀ¨Óû§µÄ²éѯ¡¢Ìí¼Ó¡¢Ð޸ģ¬ÒÔ¼°Óû§Ö®¼äÏ໥Çл»µÄ¹¤¾ßµÈ£»Í¨¹ýÕâЩ¹¤¾ß£¬ÎÒÃÇÄÜ°²È«
¡¢ÇáËɵÄÍê³ÉÓû§¹ÜÀí£»
    ÔÚÕâÀïÎÒÃÇÒªÒýÈëÓû§¿ØÖƹ¤¾ßµÄ¸ÅÄ±ÈÈç¶ÔÓû§Ìí¼ÓµÄuseradd»òadduser £¬¶ÔÓû§ ......

Tuning TCP for Linux 2.4 and 2.6

Tuning TCP for Linux 2.4 and 2.6
NB: Recent versions of Linux (version 2.6.17 and later) have full autotuning with 4 MB maximum buffer sizes. Except in some rare cases, manual tuning is unlikely to substantially improve the performance of these kernels over most network paths, and is not generally ......

Linux ½Å±¾±àд»ù´¡

1. Linux ½Å±¾±àд»ù´¡
1.1 Óï·¨»ù±¾½éÉÜ
1.1.1 ¿ªÍ·
³ÌÐò±ØÐëÒÔÏÂÃæµÄÐпªÊ¼£¨±ØÐë·½ÔÚÎļþµÄµÚÒ»ÐУ©£º
#!/bin/sh
¡¡¡¡·ûºÅ#!ÓÃÀ´¸æËßϵͳËüºóÃæµÄ²ÎÊýÊÇÓÃÀ´Ö´ÐиÃÎļþµÄ³ÌÐò¡£ÔÚÕâ¸öÀý×ÓÖÐÎÒÃÇʹÓÃ/bin/shÀ´Ö´ÐгÌÐò¡£
¡¡¡¡µ±±à¼­ºÃ½Å±¾Ê±£¬Èç¹ûÒªÖ´Ðиýű¾£¬»¹±ØÐëʹÆä¿ÉÖ´ÐС£
¡¡¡¡ÒªÊ¹½Å±¾¿ÉÖ´ÐУº
±àÒ ......

vmware ÏÂlinuxÉÏÍøÉèÖÃ

http://blog.163.com/lwzy-crack/blog/static/95272042200910218176623/
Ö÷»úΪWindowsXPϵͳ£¬VMwareÐéÄâ»úÀï°²×°Linux²Ù×÷ϵͳ¡£°²×°ÍêVMwareºó£¬Ö÷»úµÄÍøÂçÁ¬½ÓÀïÃæ³öÏÖÁËÁ½¸öеÄÁ¬½Ó£¬¼´VMware Network Adapter VMnet1ºÍVMware Network Adapter VMnet8Èçͼ¡£ÐéÄâ»úÀï°²×°µÄϵͳ¾ÍÊÇ¿¿ÕâÁ½¸öÐéÄâÍø¿¨À´ÁªÍøµÄ¡££¨ÈçÏÂÍ ......

LinuxÖг£ÓõÄC\C++Í·Îļþ

1¡¢  һЩͷÎļþµÄ×÷Óãº
<assert.h>£ºANSI C¡£Ìṩ¶ÏÑÔ£¬assert(±í´ïʽ)
<glib.h>£ºGCC¡£GTK£¬GNOMEµÄ»ù´¡¿â£¬ÌṩºÜ¶àÓÐÓõĺ¯Êý£¬ÈçÓÐÊý¾Ý½á¹¹²Ù×÷º¯Êý¡£Ê¹ÓÃglibÖ»ÐèÒª°üº¬<glib.h>
<dirent.h>£ºGCC¡£Îļþ¼Ð²Ù×÷º¯Êý¡£struct dirent,struct DIR,opendir(),closedir(),readdir(),readdi ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ