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

³£ÓõÄLinuxÃüÁîÖ®Ò»

poweroff
shutdown -h Á¢¿Ì¹Ø»ú
shutdown -h 10 10·Öºó¹Ø»ú
shutdown -h 20:25 ʲôʱºò¶¨Ê±¹Ø»ú
shutdown -r now
reboot
pwd ÏÔʾµ±Ç°Â·¾¶
cd .. ·µ»ØÉÏÒ»¼¶
mkdir -p animal/dog Ç¿ÖÆ´´½¨animalĿ¼ÒÔ¼°×ÓĿ¼dog
rm * ɾ³ýÎļþ»òÕßĿ¼
rm -f * Ç¿ÖÆɾ³ý
cat a.txt>>b.ini ½«a.txtÏÔʾ²¢×·¼Óµ½b.iniµÄĩβ¡¢
dmesg >dmesg.txt dmesgÏÔʾµçÄÔÆô¶¯ÐÅÏ¢
more a.txt ·ÖÆÁµÄÏÔʾÐÅÏ¢
cat a.txt|less ·ÖÆÁÏÔʾ£¬¿ÉÒÔÍùÉÏ»òÕßÍùÏ·­
tail -20 a.txt ÏÔʾÎı¾Ä©Î²µÄ20ÐÐÊý¾Ý
tail +20 a.txt ´Ó20Ðе½Ä©Î²µÄÎļþ
mv a.txt ../ °Ña.txtÒƶ¯µ½ÉÏÒ»¼¶
mv a.txt b.txt °Ña.txt¸ÄÃûΪb.txt
mv animal animal_txt ½«Îļþ¼Ðanimal ¸ÄÃûΪanimal_txt
find / -name httpd.conf ´Ó¸ùÏÂÕÒnameΪ httpd.confµÄÎļþ
grep keyword file.txt ÔÚfile.txtÖвéÕÒkeyword¹Ø¼ü×Ö
ps -ef ÏÔʾËùÓеĽø³Ì
ps -ef |grep ssh
stat ÏÔʾÎļþµÄÊôÐÔ
tar -xvf test.rar ½«test.tar½âѹ
tar -zxvf foo.tar.gz ½âѹËõ
tar -tf a.tar ²é¿´tar°üÖеÄÄÚÈÝ
gzip test.txt ѹËõÎļþ
gzip -l test.txt.gz ÏÔʾѹËõÂÊ
gunzip test.txt.gz½âѹËõ
df ²é¿´¸÷¸ö·ÖÇøµÄÕ¼ÓÃÂÊ
df -H
du -H ÏÔʾÎļþ¼ÐËùÕ¼¿Õ¼äµÄ´óС
history >a.txt½«²Ù×÷ÀúÊ·Öض¨ÏòÊä³öµ½a.txt
echo Êä³ö..
ln -s /usr/share/doc doc ´´½¨Ò»¸öÈíÁ¬½Ó
ln /usr/shar/test hard ´´½¨Ò»¸öÓ²Á¬½Ó
mount /dev/cdrom/ mnt¹ÒÔعâÇýµÄÄÚÈÝ
ls vs*.rpm ²éÕÒ vs¿ªÍ·µÄrmp°ü
rpm -ivh package.rpm -U¸üÐÂ
rpm -e vsftpd ɾ³ývsftpdÈí¼þ°ü
tar -c ´´½¨ -v ÏÔʾÔËÐйý³Ì -f Ö¸¶¨ÎļþÃû -z µ÷ÓÃgzip½âѹ -t ²é¿´Ñ¹ËõÎļþÄÚÈÝ -x ½â¿ªtar
tar -cvf test.tar *
last ²é¿´µÇ½ÀúÊ·
cat /etc/passwd ²é¿´ÃÜÂëÐÅÏ¢
useradd zx
passwd zx ÐÞ¸ÄzxÃÜÂë
userdel zxɾ³ýÓû§zx
su ¸ü¸ÄÓû§µÇ½״̬
chmod o+r/bin ¸øÆäËûÓû§¼ÓдµÄȨÏÞ
useradd -g group username
vi i Çл»µ½ÊäÈë״̬ q!²»±£´æÍ˳ö
:set nu ÉèÖÃÐбê
:set nonu È¡ÏûÐбêÉèÖÃ
/etc/sysconfig/network/network-scripts/ifcfg-eth0 µÚÒ»¿éÍø¿¨ÅäÖÃÎļþ
ifconfig eth0 192.168.1.3 netmask 255.255.0.0 up Ö±½Ó¸ü¸ÄÍø¿¨ÐÅÏ¢£¬Á¢¼´ÉúЧ
service network restart
wget http://192.168.252.1:8080/Project.htmlÏÂÔØÎļþ
ÉèÖöà¸öÍø¿¨ifconfig eth0:0 192.168.1.7 netmask 255.255.0.0 up ÉèÖöà¸öipµØÖ·£¬Õë¶ÔÓÚeth0
ifconfi


Ïà¹ØÎĵµ£º

LinuxÏ°²×°ÅäÖà jdk1.6 tomcat6 Apache2.2 jk mod1.2

±¾ÎÄת×Ô http://zhzhiqun2005.javaeye.com/blog/462799
LinuxÏ°²×°ÅäÖà Jdk1.6+Tomcat6+Apache2.2.x+jk_mod1.2 Ïê½â



LinuxÏ°²×°ÅäÖà Jdk1.6+Tomcat6+Apache2.2.x+jk_mod1.2 Ïê½â
±¾ÆªÒÔRedhat AS5£¬ÄÚºËΪLinux 2.6.18-8.el5 ΪÀý£¬ÆäÖÐRedhat/FedoraϵÁлù±¾Ò»Ö£¬ÆäËûLinux»òÕß° ......

Linux²é¿´ÏµÍ³ÅäÖó£ÓÃÃüÁî

ϵͳ
# uname -a               # ²é¿´
ÄÚºË/²Ù×÷ϵͳ/CPUÐÅÏ¢
# head -n
1 /etc/issue   # ²é¿´
²Ù×÷ϵͳ°æ±¾
# cat /proc/cpuinfo      # ²é¿´
CPUÐÅÏ¢
#
hostname    &nb ......

LinuxÏÂÅäÖÃSVN Server(¶þ)

ÔÚÒ»ÖÐÒѾ­ËµÃ÷ÁËÔÚlinuxÏÂÅäÖÃSVN serverµÄÖ÷Òª²½Ö裬Èç¹ûÈí¼þÒÀÀµÃ»ÓÐÎÊÌâµÄ»°Ó¦¸ÃÒѾ­°²×°³É¹¦ÁË£¬ÏÂÃæ¾ÍÊÇÅäÖõÄÎÊÌâÁË¡£Ê×ÏÈҪȷ¶¨subversionµÄÁ½¸öÄ£¿éÊDz»ÊÇÕýÈ·µÄ°²×°µ½ÁËapacheÏ£¬¿ÉÒÔÔÚapacheµÄÒ»¸öÅäÖÃÎļþÖп´µ½£¬¸ÃÅäÖÃÎļþÔÚapacheµÄ°²×°Ä¿Â¼Ï /conf/httpd.conf
ÔÚhttpd.confÏÂÃæ»áÓÐÁ½ÐУº
LoadModul ......

Linux ×Ö·ûÉ豸Çý¶¯³ÌÐòµÄ±àд¿ò¼Ü

Ò»¡¢Linux device driver µÄ¸ÅÄî

ϵͳµ÷ÓÃÊDzÙ×÷ϵͳÄں˺ÍÓ¦ÓóÌÐòÖ®¼äµÄ½Ó¿Ú£¬É豸Çý¶¯³ÌÐòÊDzÙ×÷ϵͳÄں˺ͻúÆ÷Ó²¼þÖ®¼äµÄ½Ó¿Ú¡£É豸Çý¶¯³ÌÐòΪӦÓóÌÐòÆÁ±ÎÁËÓ²¼þµÄϸ½Ú£¬ÕâÑùÔÚÓ¦ÓóÌ
Ðò¿´À´£¬Ó²¼þÉ豸ֻÊÇÒ»¸öÉ豸Îļþ£¬Ó¦ÓóÌÐò¿ÉÒÔÏó²Ù×÷ÆÕͨÎļþÒ»Ñù¶ÔÓ²¼þÉ豸½øÐвÙ×÷¡£Éè±¸Ç ......

ÔÚLinuxÏ°²×°OpenCV

¸ãÁËÈýÌìµÄOpenCVÖÕÓÚ°ÑÕâ¸öÀà¿â¼ÓÉÏÈ¥ÁË¡£Ô­±¾ÊÇʹÓÃRed Hat Linux 9£¬µ«ÊÇÇ¿ÁÒ²»ÍƼö£¬ÒòΪ»ù±¾ÉϺܶàºÜ¶àµÄÈí¼þ¶¼ÒªÖØÐÂÉý¼¶¸üС£gcc±ØÐëÉý¼¶µ½4.x£¬ÔògmpºÍmpfrÒ²Òª¸üУ¬makeÒ²Òªµ½3.8°æ±¾£¬²¢ÇÒglibcÒ²±ØÐëÔÚ2.6°æ±¾¡£±àÒëgccʵÔÚÊÇÌ«Í´¿àÁË£¬ÎÞ±ÈÎޱȵÄÍ´¿à£¬ºÄʱ3¸ö¶àhours£¬»¹ÊÇÀ´Á˸öerror£¨glibc±ØÐëÉý¼¶£©¡£±à ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ