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²»ÊìϤ55555~~~£¬ÔÚwindowsÏÂÕýÈ·µÄ£¬ÄÄλ´ó´óÄÜÌø³öÀ´ËµÒ»Ï£¬¸Ð¼¤²»¾¡ #include <stdio.h> char *reverse(char* str) { int len=0, i=0; char *pstr=str, *ptemp,*pd; whi ......
ÈçºÎ×öµ½LinuxÏÂHIDÀàÉ豸µÄÊý¾ÝͨÐŰ¡£¿¶ÔÓÚÒ»¸ö2.6.20ϵͳ°æ±¾µÄÎÒÄܱàдһ¸öÉϲãÈçͬWINDOWSÏµĶ¯Ì¬º¯Êý¿â,µ«ºÜ²»·½±ã,ÓÐû±àд¸öÀàËÆÇý¶¯µÄ?? Äܲ»ÄܾßÌåµã£¬²»ÊǺÜÃ÷°×Â¥Ö÷µÄÒâ˼¡£ ¾ÍÊÇÈçºÎÔÚLINUXϺܺà ......
ÎÒ×°ºÃÁËvsftpd£¬°´ÕÕÍøÉϵķ½·¨ÅäÖÃÎļþ£¬µ«ÊDz»ÖªµÀÅäÖÃÍêÁËÔõôÍ˳ö£¬ËÄܸæËßÎÒ°¡£¿Ð»Ð» Èç¹û°²×°ºÃ°´Ä¬ÈÏÅäÖõϰ£¬·ÃÎʵÄĿ¼ÊÇʲô°¡£¿ÍøÉÏ˵ÊÇ/var/ftp,µ«ÊÇÎÒµÄvarÎļþ¼ÐÀïûftpÎļþ¼Ð°¡ ÎÒÓ ......
Á½Ì¨»úÆ÷ÐͺÅÍêȫһÑù ÏëÒª°Ñһ̨»úÆ÷µÄÄÚºËÅäÖÃÎļþ¿½±´¸øÁíÍâһ̨ RT 3Q ... .config Òþ²ØµÄ ÔÚÄãÅäÖùýÄں˺ó¾ÍÉú³ÉÁË lsÕý½â£¬ÔÚkernelÔ´Âë¶¥²ãĿ¼ÖÐÓиö.configÎļþ£¬ÅäÖ ......
ÎÒÏëÎÊÏ date --date Õâ¸öÃüÁîÊÇʲôÒâ˼£¿ »¹ÓÐdate -d Õâ¸öÃüÁîÓÖÊÇʲôÒâ˼£¿ ÎÒÊÇÐÂÊÖ¡£¸ßÊÖÖ¸µãÏ¡£Ð»ÁË -d ºÍ--dateÊÇÒ»ÑùµÄ ¸ñʽ-d datestr£¬--date datestr ÏÔʾÓÒdatestrÃèÊöµÄÈÕÆÚ d ......