linuxÃüÁî×ܽá
Ãû³Æ£ºcat
ʹÓÃȨÏÞ£ºËùÓÐʹÓÃÕß
ʹÓ÷½Ê½£ºcat [-AbeEnstTuv] [--help] [--version] fileName
˵Ã÷£º°Ñµµ°¸´®Á¬½Óºó´«µ½»ù±¾Êä³ö£¨Ó©Ä»»ò¼Ó > fileName µ½ÁíÒ»¸öµµ°¸£©
²ÎÊý£º
-n »ò --number ÓÉ 1 ¿ªÊ¼¶ÔËùÓÐÊä³öµÄÐÐÊý±àºÅ
-b »ò --number-nonblank ºÍ -n ÏàËÆ£¬Ö»²»¹ý¶ÔÓÚ¿Õ°×Ðв»±àºÅ
-s »ò --squeeze-blank µ±Óöµ½ÓÐÁ¬ÐøÁ½ÐÐÒÔÉϵĿհ×ÐУ¬¾Í´ú»»ÎªÒ»ÐеĿհ×ÐÐ
-v »ò --show-nonprinting
·¶Àý£º
cat -n textfile1 > textfile2 °Ñ textfile1 µÄµµ°¸ÄÚÈݼÓÉÏÐкźóÊäÈë textfile2 Õâ¸öµµ°¸Àï
cat -b textfile1 textfile2 >> textfile3 °Ñ textfile1 ºÍ textfile2 µÄµµ°¸ÄÚÈݼÓÉÏÐкţ¨¿Õ°×Ðв»¼Ó£©Ö®ºó½«ÄÚÈݸ½¼Óµ½ textfile3 Àï¡£
·¶Àý£º
°Ñ textfile1 µÄµµ°¸ÄÚÈݼÓÉÏÐкźóÊäÈë textfile2 Õâ¸öµµ°¸Àï
cat -n textfile1 > textfile2
°Ñ textfile1 ºÍ textfile2 µÄµµ°¸ÄÚÈݼÓÉÏÐкţ¨¿Õ°×Ðв»¼Ó£©Ö®ºó½«ÄÚÈݸ½¼Óµ½ textfile3 Àï¡£
cat -b textfile1 textfile2 >> textfile3
cat /dev/null > /etc/test.txt ´ËΪÇå¿Õ/etc/test.txtµµ°¸ÄÚÈÝ
cat Ò²¿ÉÒÔÓÃÀ´ÖÆ×÷ image file¡£ÀýÈçÒªÖÆ×÷ÈíµúµÄ image file£¬½«Èíµú·ÅºÃºó´ò
cat /dev/fd0 > OUTFILE
Ïà·´µÄ£¬Èç¹ûÏë°Ñ image file дµ½Èíµú£¬Çë´ò
cat IMG_FILE > /dev/fd0
×¢£º
1. OUTFILE Ö¸Êä³öµÄ image µµÃû¡£
2. IMG_FILE Ö¸ image file¡£
3. Èô´Ó image file д»Ø device ʱ£¬device ÈÝÁ¿ÐèÓëÏ൱¡£
4. ͨ³£ÓÃÔÚÖÆ×÷¿ª»ú´ÅƬ¡£
Ãû³Æ : cd
ʹÓÃȨÏÞ : ËùÓÐʹÓÃÕß
ʹÓ÷½Ê½ : cd [dirName]
˵Ã÷ : ±ä»»¹¤×÷Ŀ¼ÖÁ dirName¡£ ÆäÖÐ dirName ±íʾ·¨¿ÉΪ¾ø¶Ô·¾¶»òÏà¶Ô·¾¶¡£ÈôĿ¼Ãû³ÆÊ¡ÂÔ£¬Ôò±ä»»ÖÁʹÓÃÕßµÄ home directory (Ò²¾ÍÊÇ¸Õ login ʱËùÔÚµÄĿ¼)¡£
ÁíÍ⣬"~" Ò²±íʾΪ home directory µÄÒâ˼£¬"." ÔòÊDZíʾĿǰËùÔÚµÄĿ¼£¬".." Ôò±íʾĿǰĿ¼λÖõÄÉÏÒ»²ãĿ¼¡£
·¶Àý : Ìøµ½ /usr/bin/ :
cd /usr/bin
Ìøµ½×Ô¼ºµÄ home directory :
cd ~
Ìøµ½Ä¿Ç°Ä¿Â¼µÄÉÏÉÏÁ½²ã :
cd ../..
cd - ·µ»Ø½øÈ뵱ǰĿ¼ǰËùÔÚĿ¼
Ö¸ÁîÃû³Æ : chmod
ʹÓÃȨÏÞ : ËùÓÐʹÓÃÕß
ʹÓ÷½Ê½ : chmod [-cfvR] [--help] [--version] mode file...
˵Ã÷ : Linux/Unix µÄµµ°¸µ÷ÓÃȨÏÞ·ÖΪÈý¼¶ : µµ°¸ÓµÓÐÕß¡¢Èº×é¡¢ÆäËû¡£ÀûÓà chmod ¿ÉÒÔ½åÒÔ¿ØÖƵµ°¸ÈçºÎ±»ËûÈËËùµ÷Óá£
²ÎÊý :
mode : ȨÏÞÉ趨×Ö´®£¬
Ïà¹ØÎĵµ£º
´ÓWindow¿ª·¢µ½Linux¿ª·¢
ÔÚITÕâÐÐÍ·´ò¹ö¶àÄ꣬´ÓDOSµÄ¿ª·¢µ½WindowµÄ¿ª·¢£¬¶¼ÎÞ²»ÊǸú×ÅMicrosoftÅÜ£»µ«×ÐϸÏëÏ룬´ÓMicrosoftµÄ¼¼ÊõÉϵõ½Á˶àÉÙ (µ±È»ÊÇÖ¸ÄÜ׬µ½µÄÉú»î·Ñ)£¬¾Í·¢ÏÖÎÊÌâÀ´ÁË¡£
Èç¹ûÄãÊÇ´ò¹¤µÄ£¬¾ÍÖ»Óй¤×Ê£¬¹¤×ÊÄÜÓжàÉÙ£¬¸÷¹«Ë¾ÓиßÓеͣ¬µ«ÎÒÏë£ ......
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
-->
Ëùν“³ö×┣¨
rent
out
£©¾ÍÊÇÒ»Öֺܳ£¼ûµÄ×âÁÞÒµÎñ¡£ÔÚ
IT
½ç£¬ÕâÖÖÈí¡¢Ó²¼þ£¨×éºÏ£©µÄ×âÁÞÒµÎñÒ²¿ÉËãÊÇÒ»¸ö“ÀϹŶ”ÁË¡£Õâ¸ö»°ÌâΪʲô×î½üÓÖÈÈÄÖÆðÀ´ÁËÄØ£¿
  ......
export£ºÉèÖûòÏÔʾ»·¾³±äÁ¿¡£
Óï¡¡¡¡·¨£ºexport [-fnp][±äÁ¿Ãû³Æ]=[±äÁ¿ÉèÖÃÖµ]
²¹³ä˵Ã÷£ºÔÚshellÖÐÖ´ÐгÌÐòʱ£¬shell»áÌṩһ×é»·¾³±äÁ¿¡£export¿ÉÐÂÔö£¬Ð޸Ļòɾ³ý»·¾³±äÁ¿£¬¹©ºóÐøÖ´ÐеijÌÐòʹÓá£exportµÄЧÁ¦½ö¼°Óڸô˵ǽ²Ù×÷¡£
²Î¡¡¡¡Êý£º
¡¡-f ¡¡´ú±í[±äÁ¿Ãû³Æ]ÖÐΪº¯ÊýÃû³Æ¡£
¡¡-n ¡ ......
ÔÚÖÚ¶àÍøÂçÓ¦ÓÃÖУ¬FTP£¨Îļþ´«ÊäÐÒ飩ÓÐ×ŷdz£ÖØÒªµÄµØλ¡£InternetÖÐÒ»¸öÊ®·ÖÖØ
ÒªµÄ×ÊÔ´¾ÍÊÇÈí¼þ×ÊÔ´£¬¶ø¸÷ÖÖ¸÷ÑùµÄÈí¼þ×ÊÔ´´ó¶àÊý¶¼·ÅÔÚFTP·þÎñÆ÷ÖС£Óë´ó¶àÊý
Internet·þÎñÒ»Ñù£¬FTPÒ²ÊÇÒ»¸ö¿Í»§»ú/·þÎñÆ÷ϵͳ¡£Óû§Í¨¹ýÒ»¸öÖ§³ÖFTPÐÒéµÄ¿Í»§
»ú³ÌÐò£¬Á¬½Óµ½Ö÷»úÉϵÄFTP·þÎñÆ÷³ÌÐò¡£Óû§Í¨¹ý¿Í»§»ú³ÌÐòÏò·þÎñÆ÷³Ì ......
Ò»¡¢Qt3/EmbeddedµÄÊäÈëÉ豸µÄÇý¶¯½Ó¿ÚʵÏÖÔÀí·ÖÎö
1¡¢Qt3/Embedded°ÑÓëµ×²ãÓ²¼þÏà¹ØµÄÔ´Îļþͳһ·ÅÔÚsrc/embeddedĿ¼Ï£¬ËùÒÔÎÒÃÇ×îºÃÒ²°Ñ×Ô¼ºµÄÉ豸Çý¶¯½Ó¿ÚÎļþ·Åµ½´ËĿ¼¡£
2¡¢Qt/EmbeddedÖеÄÊäÈëÉ豸·ÖΪÊó±êÀàÓë¼üÅÌÀà¡£ÔÚ3.x°æ±¾ÏµÁÐÖУ¬Êó±êÉ豸µÄ³éÏó»ùÀàΪQWSMouseHandler£¬ÔÚsr ......