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

ÔÚlinuxÉÏʹÓÃrlwrapʵÏÖÏñdos¹¦ÄÜʹÓÃÉÏϼü²é¿´ÃüÁî

ÔÚlinux ÉϵÄoracle sqlplus ²»ÄÜÀûÓà ÉÏ, Ï ¼üÀ´²é¿´ÃüÁî ¶ø¿àÄÕ. rlwarp ¹¤¾ß¿ÉÒÔ°ïÖúÎÒÃǽâ¾öÕâ¸öÎÊÌâ.
¹Ù·½ÏÂÔصØÖ·:http://utopia.knoware.nl/~hlub/uck/rlwrap/
Ò»:°²×°readline
OSµÄ°²×°¹âÅÌÀïÌṩÁËreadline°ü.
[root@oracle11g ~]# rpm -Uvh readline*
error: Failed dependencies: libtermcap-devel is needed by readline-devel-5.1-1.1.i386.rpm
[root@oracle11g ~]# rpm -Uvh libtermcap-devel-2.0.8-46.1.i386.rpm
[root@oracle11g ~]# rpm -Uvh readline*
package readline-5.1-1.1 is already installed
[root@oracle11g ~]# rpm -Uvh readline-devel-5.1-1.1.i386.rpm
¶þ:°²×°rlwrap
[root@oracle11g ~]# tar -zxvf rlwrap-0.30.tar.gz
[root@oracle11g ~]# cd rlwrap-0.30
[root@oracle11g rlwrap-0.30]# ./configure
[root@oracle11g rlwrap-0.30]# make
[root@oracle11g rlwrap-0.30]# make install
Èý:·½±ãʹÓÃrlwrap
[root@oracle11g rlwrap-0.30]# vi /home/oracle/.bash_profile
Ìí¼Ó
alias sqlplus='rlwrap sqlplus'
alias rman='rlwrap rman'
LinuxϵÄSQL Plus ÖÕÓÚ¿ÉÒÔÏñWindowsϵÄÄÇÑùʹÓÃÁË¡£


Ïà¹ØÎĵµ£º

linuxϵͳÆô¶¯½Å±¾

Fedora ÏÂÊÇÓÐ/etc/inittabÎļþµÄ£¬¶øÔÚUbuntuÖÐÊÇûÓÐÕâÒ»¸öÎļþµÄ£¬ÒòΪÔÚubuntuÖУ¬inittabÈí¼þ°üÒѾ­±»upstartÈí¼þ°üÌæ»»ÁË£¬ËùÓеÄÅäÖÃÐÅÏ¢¶¼ÔÚ/etc/event.d/Ŀ¼Ï¡£inittabÎļþÔÚinittabÀïÃæÕâÑùÃèÊöµÄ£¬This inittab file describes how the INIT process should set up the system in a certain run-level.¼´ÔÚlin ......

Linux Module±à³ÌС½á

1. Makefile
ʹÓÃMakefileÀ´±àÒëÄ£¿é£¬²»ÄÜÖ±½ÓʹÓÃgcc¡£
ʵ¼ÊʹÓõÄÊǵ±Ç°»î¶¯ÄÚºËÄ£¿éµÄMakefileÀ´Íê³ÉÏà¹Ø¹¤×÷µÄ¡£
ifneq ($(KERNELRELEASE),)
    obj-m := hello.o calculate.o
else
        KDIR := /lib/modules/2.6.18-53.el5xen/build
all:
 &nbs ......

LinuxÏÂtar gz bz2 tgz zµÈÖÚ¶àѹËõÎļþµÄ½âѹ·½·¨

ת×Ô£ºhttp://www.51testing.com/?action-viewspace-itemid-212094.html
¶ÔÓÚ¸Õ¸Õ½Ó´¥
Linux
µÄÈËÀ´Ëµ£¬Ò»¶¨»á¸øLinuxÏÂÒ»´ó¶Ñ¸÷ʽ¸÷ÑùµÄÎļþÃû¸ø¸ãÔΡ£±ð
¸ö²»Ëµ£¬µ¥µ¥¾ÍѹËõÎļþΪÀý£¬ÎÒÃÇÖªµÀÔÚ
Windows
ÏÂ×î³£¼ûµÄѹËõÎļþ¾ÍÖ»ÓÐÁ½ÖÖ
£¬Ò»ÊÇ,zip£¬ÁíÒ»¸öÊÇ.rar¡£¿ÉÊÇLinux¾Í²»Í¬ÁË£¬ËüÓÐ.gz¡¢.tar.gz¡¢tgz¡¢bz2¡ ......

¡¾Linux½»»»·ÖÇø¡¿ ½»»»·ÖÇø¸ñʽdzÎö

Íê³É±¾ÎÄ£¬Ê¹ÓÃÁËÁ½¸ö¹¤¾ß
 1. strace
 2. google code search
.
----
swap·ÖÇøÓÐÒ»¸ö´óСΪPAGE_SIZEµÄÒ³Ã棬³ÆΪsignatureÒ³£¬ÉÏÃæ¼Ç¼swap·ÖÇøµÄ»ù±¾ÐÅÏ¢¡£
static struct swap_header_v1 {
char bootbits[1024]; /* Space for disklabel etc. */
unsigned int version;
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ