linux³õѧ֮ËöËé֪ʶµãÕûÀí¶þ
linuxÖ®shell¼ò½é
shellÊÇÓû§ºÍlinuxϵͳ֮¼äµÄ½Ó¿Ú£¨ºÜÏñwindowsϵͳϵÄdos£©£¬linuxÓжàÖÖshell£¬È±Ê¡µÄʹÓÃbash
shell³£ÓõÄ3ÖÖÀàÐÍ£º
1¡¢Bourne shell£¨sh£©£ºUNIXÉÏ×î³õʹÓõÄÀàÐÍ£¬linuxϵͳȱʡµÄshellÊÇBourne Again shell£¨bash£©£¬ËûÊÇBourne shellµÄÀ©Õ¹£¬Ôö¼ÓÁ˺ܶàÌØÐÔ£¬»¹°üº¬ÁËC shellºÍKorn shellµÄÓŵã
2¡¢C shell£¨csh£©
3¡¢Korn shell £¨ksh£©
½ø³ÌºÍÈÎÎñ¹ÜÀíÃüÁ
ps [Ñ¡Ïî]
ÆäÖг£ÓõÄÑ¡ÏîÓÐ
-e ÏÔʾËùÓнø³Ì
-f È«¸ñʽ
-l ³¤¸ñʽ
¾ÙÀý
1 ÔÚ¿ØÖÆ̨ÊäÈë psÃüÁî µÃµ½ÀàËÆÈçϵÄÊä³ö
PID TTY TIME CMD
12039 pts/0 00:00:00 bash
18710 pts/0 00:00:00 ps
¸ÃÃüÁîÏÔʾµ±Ç°µÇ¼Óû§µÄÖ´Ðнø³Ì ÏÔʾµÄÏîÄ¿¹²·ÖΪËÄÏî ÒÀ´ÎΪ PID(½ø
³Ì ID) TTY(ÖÕ¶ËÃû³Æ) TIME(½ø³ÌÖ´ÐÐʱ¼ä) CMD(¸Ã½ø³ÌµÄÃüÁîÐÐÊäÈë)
2 ÔÚ¿ØÖÆ̨ÊäÈëÒÔÏÂÃüÁî
ps –ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 Jan14 ? 00:00:05 init
root 2 1 0 Jan14 ? 00:00:00 [keventd]
root 3 1 0 Jan14 ? 00:00:00 [kapmd]
…………………..
¸ÃÃüÁÏÔʾËùÓÐÖ´Ðнø³ÌµÄÐÅÏ¢ ÏÔʾµÄÏîÄ¿ÒÀ´ÎΪ UID Ö´Ðнø³ÌµÄÓÃ
»§ ID PID(½ø³Ì ID) PPID(¸¸½ø³Ì ID) TTY(ÖÕ¶ËÃû³Æ) STIME(½ø³ÌÆô
¶¯Ê±¼ä) TIME(½ø³ÌÖ´ÐÐʱ¼ä) CMD(¸Ã½ø³ÌµÄÃüÁîÐÐÊäÈë)
¸ÃÃüÁîµÄÊä³ö½Ï¶à ¿ÉÒÔʹÓà grepÃüÁî½øÐйýÂÇ ÒÔ·½±ã²é¿´ Èç
ps –ef|grep oracle
½«Ö»ÏÔʾ³ö°üº¬ oracleµÄÊä³öÐÐ ¿ÉÒÔ²éѯִÐнø³ÌµÄÓû§Îª oracleµÄËùÓÐ
½ø³Ì
top
top ÃüÁîºÍ ps ÃüÁîµÄ»ù±¾×÷ÓÃÊÇÏàͬµÄ ÏÔʾϵͳµ±Ç°µÄ½ø³ÌºÍÆäËû×´¿ö
µ«ÊÇ topÊÇ
Ïà¹ØÎĵµ£º
²»Í¬µÄLinuxÖ®¼äcopyÎļþ³£ÓÃÓÐ3ÖÖ·½·¨
£¬µÚÒ»ÖÖ¾ÍÊÇftp£¬Ò²¾ÍÊÇÆäÖÐһ̨Linux°²×°ftp Server£¬ÕâÑù¿ÉÒÔÁíÍâһ̨ʹÓÃftpµÄclient³ÌÐòÀ´½øÐÐÎļþµÄcopy¡£µÚ¶þÖÖ·½·¨¾ÍÊDzÉÓÃsamba·þÎñ£¬ÀàËÆWindows
ÎļþcopyµÄ·½Ê½À´²Ù×÷£¬±È½Ï¼ò½à·½±ã£¬µÚÈýÖÖ¾ÍÊÇÀûÓÃscpÃüÁîÀ´½øÐÐÎļþ¸´ÖÆ¡£
scpÊÇÓÐSecurityµÄÎļþcopy£¬»ùÓÚsshµÇ¼ ......
[/b][url]http://blog.chinaunix.net/u3/95713/showart_1931142.html[/url]
Linux¸ù¾Ý°æ±¾µÄ²»Í¬, ÎļþµÄ×éÖ¯½á¹¹µ±È»»áÓÐËù²î±ð,µ«Ö÷ÒªµÄÎļþ¼ÐÓ¦¸ÃÊÇÒ»ÑùµÄ,Á˽âÕâЩÎļþ¼ÐµÄº¬Òå,¶ÔÓÚÁ˽âLinuxÓÐ×ÅÖØÒªµÄÒâÒå.
1, / LinuxÎļþϵͳµÄÈë¿Ú£¬Ò²ÊÇ´¦ÓÚ×î¸ßÒ»¼¶µÄĿ¼£»
2, /bin ϵͳËùÐèÒªµÄÄÇЩÃüÁîλÓÚ´Ë ......
°æ±¾10.2
ÔÚ9iÏÂdbstart´æÔÚÒ»bug£ºdbstartÆô¶¯Ê±ÔÚ$ORACLE_HOME/dbsÏÂÑ°ÕÒinitSID.ora£¬ÊÂʵÉÏÔÚ¸ÃĿ¼Ï²»´æÔÚÕâ¸öpfile£¬ÔÚ9i ÒѾʹÓÃÁËspfile£¬ËùÒÔÒªÏëÕý³£Í¨¹ýdbstartÆô¶¯db£¬ÐèÒªÔÚĿ¼$ORACLE_HOME/dbsÏ´´½¨Ò»¸öinitSID.ORAÎļþ£¬10gÖÐÎÒ·¢ÏÖÐÞÕýÁËÕâÒ»ÎÊÌâ¡£²»¹ý10gÖÐdbstartÔÚ×Ô¶¯Æô¶¯listenerʱ´æÔÚÒ»ÎÊÌ⣠......
Linux ¶¯Ì¬Á´½Ó
Linux ÖеÄÓ¦ÓóÌÐòÒÔÒÔÏÂÁ½ÖÖ·½Ê½Ö®Ò»Á´½Óµ½Íⲿº¯Êý£ºÒªÃ´ÔÚ¹¹½¨Ê±Ó뾲̬¿â£¨ lib*.a £© ¾²Ì¬µØÁ´½Ó£¬²¢ÇÒ½«¿â´úÂë°üº¬ÔÚ¸ÃÓ¦ÓóÌÐòµÄ¿ÉÖ´ÐÐÎļþÀҪôÔÚÔËÐÐʱÓë¹²Ïí¿â£¨ lib*.so £© ¶¯Ì¬µØÁ´½Ó¡£Í¨¹ý¶¯Ì¬Á´½Ó×°ÈëÆ÷£¬½«¶¯Ì¬¿âÓ³Éä½øÓ¦ÓóÌÐòµÄ¿ÉÖ´ÐÐÄÚ´æÖС£ÔÚÆô¶¯Ó¦ÓóÌÐò֮ǰ£¬¶¯Ì¬Á´½Ó×°ÈëÆ÷½«ËùÐ ......
ÎÒÓÃvsftpd-2.0.5.tar.gz°²×°vsftpd£¬ÔÚ/etc/init.dÀïÃæûÓÐvsftpd·þÎñ£¡
#service vsftpd start ²»ÐÐ
#/etc/init.d/vsftpd start ²»ÐÐ
Ö»ÄÜÕâÑùÆô¶¯£º#/usr/local/sbin/vsftpd &
ÎÒÒª¿ª»úÆô¶¯¾ÍÖ»ÄÜÔÚ/etc/rc.d/rc.local ÖмÓÈëÄÚÈÝ¡£
ÎÒ°ÑvsftpdÌí¼Óµ½·þÎñÀïÃæ
ÕâÑù²Ù×÷£º
1¡¢copyÒ»¸övsftpdÒ»¸öÆô¶¯½Å± ......