Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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 ÐéÄ⻯ºÍ PCI ͸´«¼¼Êõ


 
 
¼¶
±ð£º Öм¶
M.
Tim Jones
, ×ÔÓÉ×÷¼Ò
2009 Äê 11 ÔÂ 19 ÈÕ
´¦ÀíÆ÷ÒѾ­Ñݱä
ΪÕë¶ÔÐéÄâ»·¾³Ìá¸ßÐÔÄÜ£¬µ« I/O ·½Ãæ·¢ÉúÁËʲô±ä»¯ÄØ£¿Á˽âÒ»ÖÖÃûΪÉ豸£¨»ò PCI£©Í¸´«£¨passthrough£©µÄ I/O
ÐÔÄÜÔöÇ¿¼¼Êõ£¬ÕâÖÖ´´Ð¼¼Êõͨ¹ýʹÓÃÀ´×Ô Intel® (VT-d) »ò AMD (IOMMU) µÄÓ²¼þÖ§³Ö¸Ä½ø PCI Éè ......

REDHAT Enterprise Linux Æô¶¯Ä£Ê½±ä¸ü

ͨ¹ý±à¼­/etc/inittabÀïµÄid:5:initdefault:ÕâÒ»Ðеİ¢À­²®Êý×Ö£¬¿ÉʵÏÖÆô¶¯Ä£Ê½µÄת»»¡£ÀýÈ罫
id:5:initdefault:ÐÞ¸ÄΪid:3:initdefault:ÖØÐÂÆô¶¯ÏµÍ³ºó£¬ÎÒÃǿɿ´µ½Ô­À´µÄX-WindowͼÐβÙ×÷½çÃæ×ª»»³ÉÁË
Console×Ö·û½çÃæ¡£
ÔÚ×Ö·û½çÃæÏ´òÈëÃüÁîstartx¿É½øÈëͼÐνçÃæ£¬Í¼ÐνçÃæÏ¼üÈëctrl+alt+backspace½øÈë×Ö·û½çÃæ¡ ......

Linux֮·ΪºÎÈç´Ë¼èÄÑ£¿






<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
-->
       ÔÚ±¾ÎÄÖУ¬Ëùν“
Linux
֮·”ÊÇָͨÏòÍêÃÀ
Linux
×ÀÃæµÄµÀ·¡£Ì¸Æð
Linux
×ÀÃæ£¬ÓÐÈ˲»Ð¼Ò»¹Ë£¬àÍÖ®ÒԱǡ£Êµ¼ÊÇé¿öÈçºÎ£¿
 
     11
ÔÂ
......

Linuxϼ¸Àý×¥°ü³ÌÐò´úÂë

×¥°ü³ÌÐò1 grub_allpacket.c
#include <stdio.h>
#include <string.h>
#include <errno.h> 
#include <unistd.h>
#include <sys/socket.h>
#include <sys/types.h> 
#include <linux/in.h>
#include <linux/if_ether.h>
#include <net/if.h>
......

LinuxϱàÒëºÍ²¿ÊðJavaWeb³ÌÐò½Å±¾

 LinuxϱàÒëºÍ²¿ÊðJavaWeb³ÌÐò½Å±¾
Ŀ¼½á¹¹ÈçÏ£º
|
|---- YourProject
|             |-------- WebRoot
|             |          ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ