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

LinuxÏ´´½¨Îļþ

ÊÔÒ»ÊÔ£¬ÆäʵºÜ¼òµ¥µÄ¡£
mkdir -m 775 filename
-m : ÉèÖÃÎļþµÄȨÏÞ¡£Ö±½ÓÉèÖ㬲»ÐèҪĬÈÏȨÏÞ¡£
[root@localhost home]# mkdir text1
[root@localhost home]# mkdir -m 777 text2
[root@localhost home]# ls -l
drwxr-xr-x 2 root root 4096 2010-1-19 08:03 text1
drwxrwxrwx 2 root root 4096 2010-1-19 08:04 text2 


Ïà¹ØÎĵµ£º

linux 0.11 ÄÚºËѧϰ head.s


#
# Õâ¶Î´úÂë±»Á¬½Óµ½systemÄ£¿éµÄ×îÇ°Ãæ£¬ÕâÒ²ÊÇËüΪʲô³ÆÖ®Îªhead.sµÄÔ­Òò¡£
# ´ÓÕâÀ↑ʼÄÚºËÍêÈ«ÔËÐÐÔÚ±£»¤Ä£Ê½Ï¡£head.s²ÉÓõÄÊÇat&t¸ñʽµÄ
# »ã±à¡£×¢ÒâµÄÊÇ´úÂëÖеĸ³Öµ·½ÏòÊÇ´Ó×óµ½ÓÒ¡£

# Õâ¶Î³ÌÐòʵ¼ÊÉÏÊdzöÓÚÄÚ´æµÄ¾ø¶ÔµØÖ·0¿ªÊ¼´¦¡£Ê×ÏÈÊǼÓÔØ¸÷¸öÊý¾Ý¶Î¼Ä´æÆ÷¡£
# ÖØÐÂÉèÖÃÈ«¾ÖÃèÊö·û±íg ......

linux 0.11 ÄÚºËѧϰ inode.c


/*
 *  linux/fs/inode.c
 *
 *  (C) 1991  Linus Torvalds
 */
#include <string.h>
#include <sys/stat.h> // Îļþ״̬ͷÎļþ
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <asm/system.h> ......

linux ssh ÎÞÃÜÂëµÇ½

ʹÓÃÒ»ÖÖ±»³ÆÎª"¹«Ë½Ô¿"ÈÏÖ¤µÄ·½Ê½À´½øÐÐsshµÇ¼. "¹«Ë½Ô¿"ÈÏÖ¤·½Ê½¼òµ¥µÄ½âÊÍ:Ê×ÏÈÔÚ¿Í»§¶ËÉÏ´´½¨Ò»¶Ô¹«Ë½Ô¿ £¨¹«Ô¿Îļþ£º~/.ssh/id_rsa.pub£» ˽ԿÎļþ£º~/.ssh/id_rsa£©
È»ºó°Ñ¹«Ô¿·Åµ½·þÎñÆ÷ÉÏ£¨~/.ssh/authorized_keys£©, ×Ô¼º±£ÁôºÃ˽Կ.ÔÚʹÓÃsshµÇ¼ʱ,ssh³ÌÐò»á·¢ËÍ˽ԿȥºÍ·þÎñÆ÷ÉϵĹ«Ô¿×öÆ¥Åä.Èç¹ûÆ¥Åä³É¹¦¾Í¿ ......

LinuxÏÂÎļþ²éÕÒʵÀý

»¨ÁËÒ»¸öÖÜÄ©µÄʱ¼äÁгöÀ´µÄ¡£¹²Ïí³öÀ´£¬Ï£Íû´ó¼Ò»¨¼¸·ÖÖÓ¿´¿´¡£ÕâÒ²ËãÊÇLINUXϱȽÏʵÓõIJéÕÒ·½Ê½ÁË
which(ѰÕÒ“Ö´ÐÐÎļþ”)
[root@localhost home]# which [-a] command
-a : ½«ËùÓпÉÕÒµ½µÄÃüÁî¾ùÁгö£¬¶ø²»½ö½öÁгöµÚÒ»¸öÕÒµ½µÄÃüÁîÃû³Æ
·¶Àý£º
[root@localhost home]# which passwd
/usr/bin/passwd ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ