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

Linux Ŀ¼ÎÊÌâ

LinuxÐÂÊÖ£¬Çë´ó¸ç´ó½ã²»Òª¼ûЦ¡£

ÎÒÓÃrootÓû§µÇ¼µ½Linuxϵͳ¡£ÔÚ¸ùĿ¼ÏÂÃæ½¨ÁËĿ¼dir1£¬ºóÓÃÃüÁîcd /dir1½øÈëµ½dir1Ŀ¼Ï£¬È»ºóÔÙÓÃmkdir dir2½¨Á¢ÁËĿ¼dir2 £¬ÔÙºóÀ´ÓÃÃüÁîcd /dir2ÊÇ£¬ÌáʾΪ£º-bush: cd: /dir2 : No such file or directory¡£
Ôõô½øÈëdir2Ŀ¼¡£

лл´ó¸ç´ó½ãÃÇ¡£Ð¡µÜÔÚÏߵȡ£
cd /dir2

ÊǸúĿ¼ÏµÄdir2µÄÒâ˼

¶øÄãÊÇÔÚ/dir1/Ͻ¨Á¢ÁËdir2 ËùÒÔ´Ó¸ùÀ´ËµÕâ¸ödir2µÄ·¾¶ÊÇ/dir1/dir2

Ä㵱ǰÔÚdir1Ͻ¨Á¢ºó Ó¦¸ÃÓÃcd dir2»òÔòcd ./dir2»òÔòcd /dir1/dir2 À´½øÈëdir2Ŀ¼

/ Õâ¸öÊǸùĿ¼µÄÒâʶ ×î¸ß²ã

./ µ±Ç°Ä¿Â¼
../ µ±Ç°Ä¿Â¼µÄÉÏÒ»²ã
../../ µ±Ç°Ä¿Â¼ÉÏÒ»²ãµÄÉÏÒ»²ã

/ÊǸùĿ¼ ÊÇ×î¶¥¼¶µÄĿ¼
ÄãûÓÐÔÚ/Ͻ¨Á¢dir2 µ±È»½ø²»È¥ÁË

ллǰ±²£¡

/——Õâ¸öÊǾø¶Ô·¾¶£¬ÄãÏȰѾø¶Ô·¾¶ºÍÏà¶Ô·¾¶¸ãÇå³þ°É¡£

cd /
mkdir dir1
cd /dir1 »òÕß cd dir1 (ÒòΪ´Ëʱµ±Ç°Ä¿Â¼ÊÇ/)
mkdir dir2
cd dir2 ´Ëʱ²»ÄÜÓà cd /dir2ÁË£¬ ÒòΪµ±Ç°Ä¿Â¼ÊÇdir1¡£¶øcd /dir2Ï൱ÓÚµ±Ç°Ä¿Â¼ÊÇ/(¸ùĿ¼£¬×î¸ß¼¶Ä¿Â¼ÁË)

ÕâЩ¶¼ÊÇ»ù´¡ÖªÊ¶£¬ÏÈ¿´Êé¡£ËäȻʵ¼ùºÜÖØÒª£¬µ«ÊÇÀíÂÛÊÇ»ù´¡¡£

ÒýÓÃ
/——Õâ¸öÊǾø¶Ô·¾¶£¬ÄãÏȰѾø¶Ô·¾¶ºÍÏà¶Ô·¾¶¸ãÇå³þ°É¡£

cd /
mkdir dir1
cd /dir1 »òÕß cd dir1 (ÒòΪ´Ëʱµ±Ç°Ä¿Â¼ÊÇ/)
mkdir dir2
cd dir2 ´Ëʱ²»ÄÜÓà cd /dir2ÁË£¬ ÒòΪµ±Ç°Ä¿Â¼ÊÇdir1¡£¶øcd /dir2Ï൱ÓÚµ±Ç°Ä¿Â¼ÊÇ/(¸ùĿ¼£¬×î¸ß¼¶Ä¿Â¼ÁË)

ÕâЩ¶¼ÊÇ»ù´¡ÖªÊ¶£¬ÏÈ¿´Êé¡£ËäȻʵ¼ùºÜÖØÒª£¬µ«ÊÇÀíÂÛÊÇ»ù´¡¡£


Ïà¹ØÎÊ´ð£º

Ò»µÀ±ÊÊÔÌ⣺linuxÏÂÕÒbug

¶Ôlinux²»ÊìϤ55555~~~£¬ÔÚwindowsÏÂÕýÈ·µÄ£¬ÄÄλ´ó´óÄÜÌø³öÀ´ËµÒ»Ï£¬¸Ð¼¤²»¾¡

#include <stdio.h>
char *reverse(char* str)
{
int len=0, i=0;
char *pstr=str, *ptemp,*pd;
whi ......

LinuxÏÂHIDÀàÉ豸µÄÊý¾ÝͨÐÅ

ÈçºÎ×öµ½LinuxÏÂHIDÀàÉ豸µÄÊý¾ÝͨÐŰ¡£¿¶ÔÓÚÒ»¸ö2.6.20ϵͳ°æ±¾µÄÎÒÄܱàдһ¸öÉϲãÈçͬWINDOWSÏµĶ¯Ì¬º¯Êý¿â,µ«ºÜ²»·½±ã,ÓÐû±àд¸öÀàËÆÇý¶¯µÄ??
Äܲ»ÄܾßÌåµã£¬²»ÊǺÜÃ÷°×Â¥Ö÷µÄÒâ˼¡£

¾ÍÊÇÈçºÎÔÚLINUXϺܺà ......

linuxÔõôÍ˳öÅäÖÃÎļþ

ÎÒ×°ºÃÁËvsftpd£¬°´ÕÕÍøÉϵķ½·¨ÅäÖÃÎļþ£¬µ«ÊDz»ÖªµÀÅäÖÃÍêÁËÔõôÍ˳ö£¬Ë­ÄܸæËßÎÒ°¡£¿Ð»Ð»

Èç¹û°²×°ºÃ°´Ä¬ÈÏÅäÖõϰ£¬·ÃÎʵÄĿ¼ÊÇʲô°¡£¿ÍøÉÏ˵ÊÇ/var/ftp,µ«ÊÇÎÒµÄvarÎļþ¼ÐÀïûftpÎļþ¼Ð°¡

ÎÒÓ ......

linux 2.6 Äں˵ÄÅäÖÃÎļþÔÚÄÄÀï

Á½Ì¨»úÆ÷ÐͺÅÍêȫһÑù

ÏëÒª°Ñһ̨»úÆ÷µÄÄÚºËÅäÖÃÎļþ¿½±´¸øÁíÍâһ̨

RT


3Q
...

.config Òþ²ØµÄ ÔÚÄãÅäÖùýÄں˺ó¾ÍÉú³ÉÁË

lsÕý½â£¬ÔÚkernelÔ´Âë¶¥²ãĿ¼ÖÐÓиö.configÎļþ£¬ÅäÖ ......

ÎʸöLINUXÖÐdateÃüÁîµÄÎÊÌâ¡£

ÎÒÏëÎÊÏÂ
date --date Õâ¸öÃüÁîÊÇʲôÒâ˼£¿
»¹ÓÐdate -d Õâ¸öÃüÁîÓÖÊÇʲôÒâ˼£¿
ÎÒÊÇÐÂÊÖ¡£¸ßÊÖÖ¸µãÏ¡£Ð»ÁË
-d ºÍ--dateÊÇÒ»ÑùµÄ
¸ñʽ-d datestr£¬--date datestr
ÏÔʾÓÒdatestrÃèÊöµÄÈÕÆÚ

d ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ