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

Îı¾ÎļþTXT´Ówindows´æÈëlinuxʱµÄÄÚÂëת»»·½·¨

ÓÐʱºòÎı¾Îļþ£¨TXT£©´Ówindows´æÈëlinuxʱ£¬
ÔÚlinuxÏÂÃæ²é¿´ÎļþµÄÄÚÈݾͻá±ä³ÉÂÒÂ룬
ÓÃÒÔÏÂÃüÁî¿ÉÒÔ»¹txtÎļþ±¾À´µÄÃæÄ¿¡£
GB2312ΪwindowsϵͳÖеÄÄÚÂ룬Èç¹ûÊÇÆäËûµÄÇë¸ÄΪÏàÓ¦ÄÚÂë
UTF-8ÊÇת»»ºóµÄÄÚÂ룬ÒòΪLINUX ϵͳÊÇÖ§³ÖUTF-8µÄ£¬
ËùÒÔÎļþÄÚÈݼ´¿ÉÕý³£ÏÔʾ¡£
iconv -f GB2312 -t UTF-8 tmp.txt>tmp1.txt
*Çмǣ¬tmp.txt Óë tmp1.txt²»ÄÜΪÁËÊ¡ÊÂÓÃÏàͬµÄÃû×Ö£¬
  ±ØÐëÈÃÔ´ÎļþÓëÄ¿±êÎļþµÄÃû×ÖÓÐËùÇø·Ö¡£


Ïà¹ØÎĵµ£º

LinuxµÄÖ÷ÒªÌØµã¼°½á¹¹

LinuxµÄÖ÷ÒªÌØµã
¡¡¡¡×÷Ϊһ¸ö²Ù×÷ϵͳ£¬Linux¼¸ºõÂú×ãµ±½ñUnix²Ù×÷ϵͳµÄËùÓÐÒªÇó£¬Òò´Ë£¬Ëü¾ßÓÐUnix²Ù×÷ϵͳµÄ»ù±¾ÌØÕ÷¡£
1.·ûºÏPOSIX 1003.1±ê×¼
¡¡ ¡¡POSIX 1003.1±ê×¼¶¨ÒåÁËÒ»¸ö×îСµÄUnix²Ù×÷ϵͳ½Ó¿Ú£¬ÈκβÙ×÷ϵͳֻÓзûºÏÕâÒ»±ê×¼£¬²ÅÓпÉÄÜÔËÐÐUnix³ÌÐò¡£Unix¾ßÓзḻµÄÓ¦ÓóÌÐò£¬µ±½ñ¾ø ´ó¶àÊý²Ù×÷ϵͳ¶¼°Ñ ......

Linux ÏÂÏß³Ìͬ²½

½øÐжàÏ̱߳à³Ì£¬×îÍ·Ì۵ľÍÊÇÄÇЩ¹²ÏíµÄÊý¾Ý¡£ÒòΪÄãÎÞ·¨ÖªµÀÄĸöÏ̻߳áÔÚÄĸöʱºò¶ÔËü½øÐвÙ×÷£¬ÄãÒ²ÎÞ·¨µÃÖªÄǸöÏ̻߳áÏÈÔËÐУ¬ÄĸöÏ̻߳áºóÔËÐС£ÏÂÃæ½éÉÜһЩ¼¼Êõ£¬Í¨¹ýËûÃÇ£¬Äã»áºÏÀí°²ÅÅÄãµÄÏß³ÌÖ®¼ä¶Ô×ÊÔ´µÄ¾ºÕù¡£
l         »¥³âÌåMutex
l    &nbs ......

LinuxÎļþËÑË÷Ö® find / locate / whereis / which

ÒýÑÔ
find×îÇ¿´ó£¬Ê²Ã´¶¼Äܲ飬¿ÉÒÔ¸ù¾ÝÌõ¼þ²éÕÒÎļþ¡£
whichÖ»Äܲé¿ÉÖ´ÐÐÎļþºÍ±ðÃû(alias)¡£
whereisÖ»Äܲé¶þ½øÖÆÎļþ¡¢ËµÃ÷Îĵµ£¬Ô´ÎļþµÈ£¬¿ÉÒÔÕÒµ½¿ÉÖ´ÐгÌÐòºÍman page¡£
locateÊÇÔÚÊý¾Ý¿âÀï²éÕÒ£¬Êý¾Ý¿â´óÖÁÿÌì¸üÐÂÒ»´Î£¬µ«¸úwhereisÒ»Ñù¶¼ÊDzéÊý¾Ý¿âÀïµÄÄÚÈÝ¡£
1.find /etc -name my.so
2.locate ÊÇÓÃÀ´Í¨¹ý ......

Ò»ÖÖʵÏÖǶÈëʽLinuxµÄз½·¨

 
ÒýÑÔ
ÔÚLinux²Ù×÷ϵͳÖУ¬ÓÐÒ»ÏîÌØÊâµÄ¹¦ÄÜ——³õʼ»¯ÄÚ´æÅÌINITRD£¨INITial Ram
Disk£©¼¼Êõ£¬¶øÇÒÄÚºËÖ§³ÖѹËõµÄÎļþϵͳӳÏñ¡£ÓÐÁËÕâÁ½ÏÄÜ£¬ÎÒÃÇ¿ÉÒÔÈÃLinuxϵͳ´ÓСµÄ³õʼ»¯ÄÚ´æÅÌÆô¶¯£¬²¢°ÑϵͳÄÚ´æµÄÒ»²¿·Ö×÷Ϊ¸ùÎļþϵ
ͳ¹ÒÔØ£¬¶øÇÒ²»Ê¹Óý»»»·ÖÇø£¨Èç¹û²»ÔËÐÐX
WindowsÕâÊÇÍêÈ«¿ÉÒԵģ©£¬¼ ......

linuxϱàÒë¶à¸öÎļþ

ÀýÈ磺
/home/filesÎļþ¼ÐÏÂÓÐÎļþmain.c:
#include <stdio.h>
#include "tou.h"
void main()
{
a();
}
/home/files/commonÎļþ¼ÐÏÂÓÐÎļþtou.hºÍshixian.c¡£
tou.hΪ£º
extern void a();
ÈôÓжà¸öshixianÎļþ£¬±ÈÈçshixian1.c, shixian2.c£¬¶¼¿ÉÒÔÔÚtou.hÖÐÓÃexternÉùÃ÷³öÀ´¡£
shixian.cΪ£º
#inclu ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ