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

LinuxÖÐÎļþµÄѹËõÓë½âѹËõ

 
Form: http://tech.sina.com.cn/c/4082.html
LinuxÖÐÎļþµÄѹËõÓë½âѹËõ
http://www.sina.com.cn 2001/06/28 14:15 ÈüµÏÍø Àî¸ïÐÂ
 
¡¡¡¡¶ÔÐí¶àÓû§À´Ëµ£¬ÔÚDOSºÍWindows»·¾³ÏÂÀûÓù¤¾ßÈí¼þARJ¡¢WinzipµÈ£¬Ñ¹Ëõ»ò½âѹÎļþÊDZȽÏÈÝÒ×µÄÊ¡£µ«ÊÇ£¬ÔÚLinuxÖÐÈçºÎ¶ÔÎļþ½øÐÐѹËõÓë½âѹÄØ£¿±¾ÎÄ»ùÓÚRed Hat 6.0£¬½éÉÜÁËѹËõÓë½âѹÎļþµÄ¼¸ÖÖ·½·¨Óë¼¼ÇÉ£¬Ï£Íû¶Ô¶ÁÕßÓÐÒ»¶¨µÄ°ïÖú¡£
ÃüÁ
compress
¸ñʽ£º
compress Ñ¡Ïî ÎļþÁбí
¹¦ÄÜ£º
ÓÃLempel-zivѹËõ·½·¨À´Ñ¹ËõÎļþ»òѹËõ±ê×¼ÊäÈë
Ñ¡Ï
-r µÝ¹é²Ù×÷£¬Èç¹ûÖ¸¶¨Ä¿Â¼±äÔª£¬ÔòѹËõ¸ÃĿ¼¼°Æä×ÓĿ¼ÖеÄËùÓÐÎļþ¡£
-c ½«Ñ¹ËõÊý¾Ý·µ»Ø±ê×¼Êä³ö£¬¶øȱʡÇé¿öÏÂΪѹËõÎļþʱ½«Ñ¹ËõÊý¾Ý·µ»ØÎļþ¡£
-v ÏÔʾÿ¸öÎļþ¼ÐµÄѹËõ°Ù·Ö±È¡£
½âÊÍ£º
ÔÚÓÃcompressѹËõÎļþʱ£¬½«ÔÚÔ­ÎļþÃûÖ®ºó¼ÓÉÏÀ©Õ¹Ãû.Z¡£Èç¹û²»Ö¸¶¨Îļþ£¬ÔòѹËõ±ê×¼ÊäÈ룬Æä½á¹û·µ»Ø±ê×¼Êä³ö¡£
ʵÀý£º
Ä¿µÄ£ºÑ¹Ëõ/mnt/lgx/a1.docÎļþ
ÃüÁ££compress /mnt/lgx/a1.doc
½á¹û£ºÑ¹ËõºóÉú³Éa1.doc.ZÎļþ¡£
ÃüÁ
uncompress
¸ñʽ£º
uncompress Ñ¡Ïî ÎļþÁбí
¹¦ÄÜ£º
½âѹËõÓÃcompress ³ÌÐòѹËõ¹ýµÄÎļþ
Ñ¡Ï
-c Ëü½«Ñ¹ËõÊý¾Ý·¢Íù±ê×¼Êä³ö¶ø²»ÊǸÄд¾ÉµÄѹËõÎļþ
½âÊÍ£º
Èç¹û²»Ö¸¶¨Îļþ£¬Ôò½âѹËõ±ê×¼ÊäÈ롣ȱʡ-cʱ£¬Îª½âѹËõ¡£
ʵÀý£º
Ä¿µÄ£º½âѹËõ/mnt/lgx/a1.doc.Z
ÃüÁ# uncompress /mnt/lgx/a1.doc.Z
ÃüÁ
gzip
¸ñʽ£º
gzip Ñ¡Ïî ÎļþĿ¼Áбí
¹¦ÄÜ£º
ÓÃLempel-ziv±àÂëѹËõÎļþ
Ñ¡Ï
-c ѹËõ½á¹ûдÈë±ê×¼Êä³ö£¬Ô­Îļþ±£³Ö²»±ä¡£È±Ê¡Ê±gzip½«Ô­ÎļþѹËõΪ.gzÎļþ£¬²¢É¾³ýÔ­Îļþ¡£
-v Êä³ö´¦ÀíÐÅÏ¢¡£
-d ½âѹËõÖ¸¶¨Îļþ¡£
-t ²âÊÔѹËõÎļþµÄÍêÕûÐÔ¡£
½âÊÍ£º
ÖµµÃÒ»ÌáµÄÊÇ£¬gzip±ÈcompressѹËõ¸ü¼ÓÓÐЧ¡£
ʵÀý£º
Ä¿µÄ£ºÑ¹Ëõ/mnt/lgx/a1.doc
ÃüÁ££gzip -v /mnt/lgx/a1.doc
½á¹û£º²úÉúa1.doc.gzµÄѹËõÎļþ
ÃüÁ
gunzip
¸ñʽ£º
gunzip Ñ¡Ïî ÎļþÁбí
¹¦ÄÜ£º
½âѹËõÓÃgzipÃüÁÒÔ¼°compressºÍzipÃüÁѹËõ¹ýµÄÎļþ
Ñ¡Ï
-c ½«Êä³öдÈë±ê×¼Êä³ö£¬Ô­Îļþ±£³Ö²»±ä¡£È±Ê¡Ê±£¬gunzip½«Ñ¹ËõÎļþ±ä³É½âѹËõÎļþ¡£
-l ÁгöѹËõÎļþÖеÄÎļþ¶ø²»½âѹËõ¡£
-r µÝ¹é½âѹËõ£¬ÉîÈëĿ¼½á¹¹ÖУ¬½âѹËõÃüÁîÐбäÔªËùÖ¸¶¨Ä¿Â¼ÖеÄËùÓÐ×ÓĿ¼ÄÚµÄÎļþ¡£
ʵÀý£º
Ä¿µÄ£º½âѹËõ/mnt/lgx/a1.doc.gz
ÃüÁ££gunzip /mnt/lgx/a1.doc.gz
ÃüÁ
tar
¸ñʽ£º
tar Ñ¡Ïî Îļþ


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì(Áù) L2CAP±à³ÌʵÀý

ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
 Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......

cin EOF Linux

 ÎÒΪʲôдÕâ¸öÌâÄ¿ÄØ£¬ÒòΪÎÒ½ñÌìҪдµÄ²©ÓëÕâÈýÕ߶¼ÓйØϵ£¬ÖÁÉÙÎÒ¸öÈËÈÏΪÊÇÕâÑùµÄ¡£
ÓиöÈËÎÊÁËÒ»¸öÕâÑùµÄС³ÌÐò£¬ËµÓÐÎÊÌ⣺
#include <iostream>
#include <vector>
#include <string>
using namespace std;
int main()
{
vector <string*> spvec;
string str;
cout & ......

linuxÎÞÁ¬½Ó»ñÈ¡²»µ½IP

  ½ñÌìÔÚVMÖа²×°REDHat9Ö®ºó£¬ÔÚÖÕ¶ËÖÐÖ´ÐÐifconfigÖ¸Áî·¢ÏÖ²»ÄÜ»ñÈ¡²»µ½IP£¬Ö´ÐÐsetupÃüÁÐÞ¸ÄIP»ñÈ¡·½Ê½Îª¶¯Ì¬»ñÈ¡ºó»¹ÊÇ»ñÈ¡²»µ½£¬Ö´ÐÐsetup eth0 ÏÔʾ“ÎÞÁ¬½Ó¡£¡£¡£”ÉÏÍø²éÕÒÔ­ÒòºÜ¶àÈ˶¼ËµÊÇÇý¶¯Ã»°²×°¡¢Íø¿¨Ã»°²×°µÈ£¬×îºó·¢ÏÖ¶¼Êdz¶µ­¡£ÕæÕýµÄÔ­ÒòÊÇδ°²×°VMware Tools¡£°²×°VMtools·½Ê½
1 µã» ......

ÔÚlinuxÖа²×°ÖÐÎÄ×Ö¿â

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