Linux ¹Ø»úÖ¸Áî
1¹Ø»úÃüÁî shutdown 1£©shutdown --help
2£©shutdown -h now ÏÖÔÚÁ¢¼´¹Ø»ú == halt Ö¸Áî
3£©shutdown -r now ÏÖÔÚÁ¢¼´ÖØÆô
4£©shutdown -r +3 Èý·ÖÖÓºóÖØÆô
5£©shutdown -h +3 "The System will shutdown after 3 minutes" ÌáʾʹÓÃÕß½«ÔÚÈý·ÖÖÓºó¹Ø»ú
6£©shutdown -r 20:23 ÔÚ20£º23ʱ½«ÖØÆô¼ÆËã»ú
7£©shutdown -r 20:23 & ¿ÉÒÔ½«ÔÚ20£º23Ê±ÖØÆôµÄÈÎÎñ·Åµ½ºǫ́ȥ£¬Óû§¿ÉÒÔ¼ÌÐø²Ù×÷ÖÕ¶Ë
Ïà¹ØÎĵµ£º
xxxx.tar.gzÎļþʹÓÃtar´øzxvf²ÎÊý£¬¿ÉÒÔÒ»´Î½âѹ¿ª¡£XXXXΪÎļþÃû¡£ ÀýÈ磺
$tar zxvf xxxx.tar.gz
gzip -d
Óï ·¨£ºgzip [-acdfhlLnNqrtvV][-S <ѹËõ×Öβ×Ö·û´®>][-<ѹËõЧÂÊ>][--best/fast][Îļþ...] »ò gzip [-acdfhlLnNqrtvV][-S <ѹËõ×Öβ×Ö·û´®>][-<ѹËõЧÂÊ>][--best/fast][Ŀ¼]
²¹³äË ......
Ó¦Óò㣺
#include <unistd.h>
1¡¢unsigned int sleep(unsigned int seconds); Ãë¼¶
2¡¢int usleep(useconds_t usec); ΢Ãë¼¶£º1/10^-6
#define _PO ......
xmanager secureCRT½áºÏʹÓÃ
»·¾³£ºÔÚxpÖа²×°ÐéÄâ»úvmware £¬host-only·½Ê½ÐéÄâLinuxϵͳ¡£xpµÄipΪ192.168.0.1£¬ÐéÄâ»úLinuxΪ192.168.0.88
ÔÚxpÖа²×°xmanagerºÍsecureCRT £¬Ä¬ÈÏÇé¿öÏÂCRT²»ÄÜÏÔʾͼÐνçÃæ£¬Í¨¹ýÒÔÏÂÅäÖÿÉÒÔʵÏÖÔÚWindowsϵÄCRTÀïÏÔʾLinuxÖеÄoracleͼÐνçÃæ£º
ÒÔoracleÓû§µÇ½Linux£¬ÐÞ¸Ä.ba ......
ÉÏÆªÎÄÕÂ˵µ½linuxÐèÒªitoaº¯Êý£¬ÏÂÃæÎÒ¾ÍÌṩһ·Ý¿çƽ̨µÄitoaº¯Êý¡£
//return the length of result string. support only 10 radix for easy use and better performance
int my_itoa(int val, char* buf)
{
const int radix = 10;
char* p;
int a;&nbs ......
תÌù×Ô£ºhttp://alexanderlaw.blog.hexun.com/8968782_d.html
Èý¡¢ipt_table±íµÄ×¢²á
init£¨£©º¯Êý³õʼ»¯Ê±µ÷ÓÃÁËipt_register_tableº¯Êý½øÐбíµÄ×¢²á
3.1 ip_tables.c ±íµÄ×¢²á ipt_register_table
int ipt_register_table(struct ipt_table *table)
{
......