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

Linux¹Ø»úÃüÁî

1 shutdown:
[NAME
]  shutdown - bring the system down
SYNOPSIS
       /sbin/shutdown [-t sec] [-arkhncfF] time [warning-message]
DESCRIPTION
       shutdown  brings  the  system  down  in a secure way.  All logged-in users are notified that the system is going down, and login(1) is blocked.  It is possible to shut the system down immediately or after a specified delay.   All  processes  are first  notified  that the system is going down by the signal SIGTERM.  This gives programs like vi(1) the time to save the file being edited, mail and news processing programs a chance to exit cleanly, etc.  shutdown does its job  by  signalling  the  init  process, asking it to change the runlevel.  Runlevel 0 is used to halt the system, runlevel 6 is used to reboot the system, and runlevel 1 is used to put to system into a state where administrative tasks can be performed; this is  the
       default  if  neither  the  -h  or  -r flag is given to shutdown.  To see which actions are taken on halt or reboot see the
       appropriate entries for these runlevels in the file /etc/inittab.
OPTIONS
       -a     Use /etc/shutdown.allow.
       -t sec Tell init(8) to wait sec seconds between sending processes the warning and the  kill  signal,  before  changing  to
              another runlevel.
       -k     Do not really shutdown; only send the warning messages to everybody.
       -r     Reboot after shutdown.
    &n


Ïà¹ØÎĵµ£º

Linux JNIʵÀý¼°ÆäJNI³ÌÐòÉè¼ÆÄ£°å

¼òµ¥ÊµÀý˵Ã÷´ý²¹³ä£¬ÊµÀýÔ´Âë¿ÉÔÚ´ËÁ´½ÓÏÂÔØhttp://d.download.csdn.net/down/2389895/sanlinux
jniNative.cpp
#include "jniNative.h"
#include "mymain.h"
#include <stdio.h>
JNIEXPORT void JNICALL Java_HelloWorld_print(JNIEnv *env, jobject arg, jstring instring)
{
 &nb ......

linux²Ù×÷ϵͳ¿ØÖÆÌ¨Ï¹رշäÃùÉùµÄ·½·¨

    ÎÄÕ³ö´¦£ºhttp://doc.linuxpk.com/52964.html
    ʹÓÿØÖÆÌ¨µÇ¼ºó£¬ÔÚshellÌáʾ·ûÏÂÃæ²Ù×÷ʱ»áÓõ½´óÁ¿µÄTabÀ´×Ô¶¯²¹È«£¬Õâ¸öʱºò»úÆ÷µÄ·äÃùÆ÷¾Í»áà½à½ßÁßÁ²»Í££¬Õâ¸öà½à½ßÁßÁµÄÉùÒô¿ÉÒÔʹÓÃsettermÃüÁîÀ´ÉèÖÃËüµÄ³¤¶Ì¡£
    setterm -blength 0
    ......

ǶÈëʽӦÓÃLinux²Ã¼õµÄ³õ´Î³¢ÊÔ

http://blog.oasisfeng.com/2006/09/15/embedded-linux-cutdown/
ǰ¶Îʱ¼äÒòΪǶÈëʽӦÓÿª·¢µÄÐèÒª£¬¶ÔLinux½øÐÐÁËÒ»´Î´ó·ù¶ÈµÄ²Ã¼õ¡£ÓÉÓÚÊdzõ´Î½Ó´¥LinuxÆô¶¯µÄºËÐIJ¿·Ö£¬ËùÒÔ»ù±¾ÉÏ»¹ÊǶÔÍøÉϸ÷Öֲüõ
·½°¸µÄÆ´´ÕºÍÕûÀí£¬°üº¬×Ô¼ºÀí½âµÄ²¿·ÖʵÔÚºÜÉÙ¡£×ܵÄÀ´ËµÐ§¹û²»ËãÀíÏ룬ºóÃæ»¹Óкܳ¤µÄ·Ҫ×ß¡£
ÕâÀï¾Í´óÖÂ˵˵Ŀ ......

Linux µÄ×Ö·û´®½ØÈ¡

Linux µÄ×Ö·û´®½ØÈ¡ºÜÓÐÓá£ÓаËÖÖ·½·¨¡£
¼ÙÉèÓбäÁ¿ var=http://www.hao.com/123.htm
Ò» # ºÅ½ØÈ¡£¬É¾³ý×ó±ß×Ö·û£¬±£ÁôÓÒ±ß×Ö·û¡£
echo ${var#*//}
ÆäÖÐ var ÊDZäÁ¿Ãû£¬# ºÅÊÇÔËËã·û£¬*// ±íʾ´Ó×ó±ß¿ªÊ¼É¾³ýµÚÒ»¸ö // ºÅ¼°×ó±ßµÄËùÓÐ×Ö·û
¼´É¾³ý http://
½á¹ûÊÇ £ºwww.hao.com/123.htm
¶þ ## ºÅ½ØÈ¡£¬É¾³ý×ó±ß×Ö·û ......

Linux¹²Ïí¿â

¹²Ïí¿âµÄÃüÃû¹ßÀý
°´ÕÕ¹²Ïí¿âµÄÃüÃû¹ßÀý£¬Ã¿¸ö¹²Ïí¿âÓÐÈý¸öÎļþÃû£ºreal name¡¢sonameºÍlinker
name¡£ÕæÕýµÄ¿âÎļþ£¨¶ø²»ÊÇ·ûºÅÁ´½Ó£©µÄÃû×ÖÊÇreal
name£¬°üº¬ÍêÕûµÄ¹²Ïí¿â°æ±¾ºÅ¡£ÀýÈçÉÏÃæµÄlibcap.so.1.10¡¢libc-2.8.90.soµÈ¡£
sonameÊÇÒ»¸ö·ûºÅÁ´½ÓµÄÃû×Ö£¬Ö»°üº¬¹²Ïí¿âµÄÖ÷°æ±¾ºÅ£¬Ö÷°æ±¾ºÅÒ»Ö¼´¿É±£Ö¤¿âº¯ÊýµÄ½Ó¿ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ