linux ÃüÁ½õ
×î½üÔÚLinux×°oracle ÔÚÍøÉÏËÑÁ˵ã×ÊÁϺʹó¼Ò·ÖÏí
linuxÏÂÃüÁîºÍÎļþ¼°Ä¿Â¼Ãû¶¼·Ö´óСд
//²é¿´ÀúÊ·Êý¾Ý
history
history |grep mount
°´"ÉÏϼü"Ñ¡ÒÔÇ°ÇùýµÄÃüÁî
//¿½±´Îļþ
cp /usr/local/tomcat4/temp/func.class /usr/local/tomcat4/webapps/photoblog/WEB-INF/classes/framework/utils/
cp -Rf /photodataold/data/2005-9-6 /photodata/ & (´úĿ¼¿½±´ &ÊÇÔÚºǫִ́ÐÐ)
rsync -auv /photodataold/data /photodata (¼ì²éͬ²½¿½±´)
//½øÈëĿ¼
cd /usr/local/
//²Ù×÷ϵͳĬÈϺº×Ö
export LC_ALL=zh_CN.GB2312
or export LANG=zh_CN.gb2312
//Òƶ¯Îļþ
mv .*.swp 123.bak
//¿´ÐÔÄÜ
top //shift¼ü+"m"ÊÇ°´"memory"ÅÅÐò
//²é¿´»·¾³±äÁ¿
env
//ä¯ÀÀÎļþºÍĿ¼
ls//Áбí; ll//ÏêϸÁбí
//²é¿´µ±Ç°Ä¿Â¼
pwd
//´´½¨Ä¿Â¼
mkdir
//ÓÃÄÚ´æ´´½¨Ä¿Â¼
mkdir -p /tmp/cache
mount -t tmpfs -o size=1512M,noexec,noatime,noexec none /tmp/cache
//±¾µØ´ÅÅ̹ñ
mount /dev/cciss/c1d0p1 /data1
//ÍâµØ´ÅÅ̹ñ
mount -t nfs 10.10.4.4:/data2 /data2
//È¥µômount²»ÄÜÓÃrm(Õæɾ³ýµØϵÄÎļþ);ÒªÓÃumount
//½¨Á¢Á¬½ÓÖ¸ÏòÃû(¿ÉÒÔÓÃrm -fÈ¥µô;¶ø²»»áÕæɾ³ýµØϵÄÎļþ)
ln -s /opt/bokee/java/jdk1.5.0_06/bin/java java
//ɾ³ýĿ¼
rmdir
//ɾ³ýÎļþ
rm -rf * //-rÊÇ¿ÉÒÔɾ³ý×ÓĿ¼ÏµÄÎļþ;-f²»ÌáʾÐÅÏ¢
//²é¿´Îļþ
more *.txt
//±à¼Îļþ
vi *.txt
-°´i¼üÊDzåÈë
-°´p¼üÊÇÔÚÇ°Ãæ²åÈëÒ»ÐÐ
-°´o¼üÊÇÔÚºóÃæ²åÈëÒ»ÐÐ
-°´esc¼üÊÇÍ˳ö±à¼
-:set nu ÏÔʾÐÐÊý
-:qÍ˳övi
-:wq±£´æÍ˳övi
"/×Ö·û"²éѯ×Ö·û
//¿ÉÒÔºÍwindows¹«ÓüôÇаå
//²é¿´tomcatµÄÈÕÖ¾
tail -f catalina.out
//²é¿´javaÕýÔÚÓõĽø³Ì
ps -aux|grep java »ò ps -ef|grep java
ps £ef>pid.txt
//Çå³ýjavaÕýÔÚÓõĽø³Ì
kill -9 30672
killall squid
//ÇåÆÁÄ»
clear
//²éÕÒÎļþ
find -name filename
//½âѹtar.gz
tar zxvf resin-2.1.16.tar.gz
//²éÃüÁî²ÎÊý
man tar
//²é¿´´ÅÅÌÐÅÏ¢
df -l
df -h
//²é¿´´ÅÅ̵ÄÎļþ¼ÐÐÅÏ¢
du -h cache/
df -k /tmp
//²é¿´ÄÚ´æÐÅÏ¢
free
//²é¿´Æô¶¯·þÎñÇé¿öÐÅÏ¢
/sbin/service --status-all
//·þÎñÖØÐÂÆô¶¯ÓëÍ£Ö¹,ÀýÈç:mysql·þÎñ
service mysql restart mysql.server restart
service mysql stop mysql.server stop
service
Ïà¹ØÎĵµ£º
Ŀ ¼
Çý¶¯
I/O¶Ë¿Ú
from smth
»ù±¾½á¹¹
Çý¶¯³ÌÐò
¾ßÌåʵÏÖ
PCI
loopback
Sis 900
ISA×ÜÏßDMAµÄʵÏÖ
Çý¶¯
Linuxϵͳ֧³ÖÈýÖÖÀàÐ͵ÄÓ²¼þÉ豸£º×Ö·ûÉ豸¡¢¿éÉè
< type="text/javascript">< type="text/jav ......
ÓÉÓÚÕâЩÎļþ²»ÊÇÆÕͨµÄÎļþ£¬ËùÒÔÎÒÃDz»ÄÜÓÃ
ANSI C
£¨±ê×¼
C
£©µÄ
fopen
¡¢
fclose
µÈÀ´²Ù×÷Îļþ£¬¶øÓ¦¸ÃʹÓÃϵͳÎļþ
I/O
´¦Àíº¯Êý£¨
open
¡¢
read
¡¢
write
¡¢
lseek
ºÍ
close
£©À´´¦ÀíÕâЩÉ豸Îļþ¡£
ioctl
£¨£©»òÐíÊÇ
Linux
ÏÂ×îÅÓÔӵĺ¯Êý£¬Ëü¿ÉÒÔ¿ØÖƸ÷ÖÖÎļþµÄÊôÐÔ£¬ÔÚ
Linux
ÉùÒôÉ豸± ......
http://www.linuxjournal.com/
Linux Kernel Newbies
Ò»·½ÊʺÏÄں˿ª·¢³õ¼¶ºÚ¿ÍµÄÀÖÍÁ——¸ÃÍøÕ¾¼¸ºõÄܹ»Âú×ãËùÓÐÄ¥µ¶»ô»ôÏòÄں˵ÄÐÂÊÖµÄÐèÇó¡£
http://kernelnewbies.org/
http://vger.kernel.org/
Á˽âÈçºÎʹÓÃlinuxÄÚºËÁбí
http://www.tux.org/lkml/
Linux
ÐÂÎÅÖÜ¿¯£¬ËüÓÐÒ»¸öרÇø±¨µÀÓйØÄں˵ÄÖØÒª ......
linuxÍøÂçÁ¬½ÓÅäÖÃͨ¹ýÃüÁîifconfigÀ´Íê³É£¬Ò²¾ÍÊÇinterface configuration¡£
£¡£¡ÓÑÇéÌáÐÑ£ºÏÂÃæÓõÄÃüÁîÓÐЩÐèÒªrootȨÏÞ
²é¿´ÍøÂçÁ¬½Ó
ifconfig
eth0 Link encap:ÒÔÌ«Íø Ó²¼þµØÖ· 00:e0:61:02:af:ba
&n ......
linuxµÄmount£¨¹ÒÔØ£©ÃüÁîÏê½â
À´Ô´£º»¥ÁªÍø ×÷ÕߣºØýÃû ʱ¼ä£º09-08 17:02:27
µãÆÀ£ºlinuxϹÒÔØ£¨mount£©¹âÅ̾µÏñÎļþ¡¢Òƶ¯Ó²ÅÌ¡¢UÅÌ¡¢WindowsºÍNFSÍøÂç¹²Ïí linuxÊÇÒ»¸öÓÅÐãµÄ¿ª·ÅÔ´ÂëµÄ²Ù×÷ϵͳ£¬¿ÉÒÔÔËÐÐÔÚ´óµ½¾ÞÐÍСµ½ÕÆÉÏÐ͸÷Àà¼ÆËã»úϵͳÉÏ£¬Ëæ×Å linuxϵͳµÄÈÕ½¥³ÉÊìºÍÎȶ¨ÒÔ¼°Ëü¿ª·ÅÔ´´úÂëÌØÓеÄÓÅÔ½ÐÔ£¬li ......