LinuxϵÄһЩ³£ÓõĻù±¾ÃüÁî
һЩ³£ÓõĻù±¾ÃüÁî:
uname -a ²é¿´Äں˰汾
ls -al ÏÔʾËùÓÐÎļþµÄÊôÐÔ
pwd ÏÔʾµ±Ç°Â·¾¶
cd - ·µ»ØÉÏÒ»´ÎĿ¼ cd ~ ·µ»ØÖ÷Ŀ¼
date s ÉèÖÃʱ¼ä¡¢ÈÕÆÚ
cal ÏÔʾÈÕÀú cal 2006
bc ¼ÆËãÆ÷¾ß
man & info °ïÖúÊÖ²á
locale ÏÔʾµ±Ç°×ÖÌå locale -a ËùÓпÉÓÃ×ÖÌå /etc/sysconfig/i18nÉèÖÃÎļþ
LANG=en ʹÓÃÓ¢ÎÄ×ÖÌå
sync ½«Êý¾Ýͬ²½Ð´ÈëÓ²ÅÌ
shutdonw -h now & half & poweroff ¹Ø»ú
reboot ÖØÆô
startx & init 5 ½øÈëͼÐνéÃæ
/work & ?work ÏòÉÏ¡¢Ï²éÕÒÎĵµÄÚÈÝ
chgrp ¸Ä±äµµ°¸Èº×é chgrp testing install.log
chown ¸Ä±äËùÊôÈË chown root:root install.log
chmod ¸Ä±äÊôÐÔ chmod 777 install.log read=4 write=2 execute=1
cp ¸´ÖÆ cp filename
rm ɾ³ýÎļþ rm -rf filename Ç¿ÖÆɾ³ýÎļþ
rmdir ɾ³ýÎļþ¼Ð
mv Òƶ¯ mv 123.txt 222.txt ÖØÃüÃû
mkdir &nbs
Ïà¹ØÎĵµ£º
ÔÎĵØÖ·£ºhttp://i.yoho.cn/logview/11756.html
ÔÚÍøÉϲéÕÒÁËÅäÖÃlinuxÅäÖÃIPµÄ·½·¨£¬¼òµ¥µÄÓÐÏÂÃæÁ½ÖÖ£º
×î³£ÓõĸøÍø¿¨ÅäÖÃipµÄÃüÁîΪ
££ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up
˵Ã÷£º
eth0ÊǵÚÒ»¸öÍø¿¨£¬ÆäËûÒÀ´ÎΪeth1£¬eth*
192.168.0.1ÊǸøÍø¿¨ÅäÖõĵÚÒ»¸öÍø¿¨ÅäÖÃµÄ ......
ÓÉÓÚ²Ù×÷ϵͳÕýÔÚ±äµÃÔ½À´Ô½¸´ÔÓ£¬ËùÒÔ¿ª»úÒýµ¼ºÍ¹Ø»úϵçµÄ¹ý³ÌÒ²Ô½À´Ô½ÖÇÄÜ»¯¡£´Ó¼òµ¥µÄDOSϵͳתÒƵ½Windows NTϵͳ£¬ÈËÃÇÒѾÇ×Éí¸ÐÊܵ½ÁËÕâЩ±ä»¯——ÕâÒѲ»½ö½öÊǺËÐIJÙ×÷ϵͳµÄÆô¶¯Òýµ¼ºÍ¹Ø±ÕÁË£¬»¹°üÀ¨±ØÐëҪͬʱÆô¶¯»òÕ߹رÕÏ൱ÊýÁ¿µÄ·þÎñÏîÄ¿¡£ÀàËÆÓÚ Windows NT£¬LinuxϵͳÆô¶¯¹ý³ÌÐèÒª´ò¿ªµÄ·þÎñÏîÄ ......
ϵͳÊÕµ½Óʼþ¶¼»á±£´æÔÚ“/var/spool/mail/[linuxÓû§Ãû]”ÎļþÖС£
ÔÚlinuxÖÐÊäÈëmail£¬¾Í½øÐÐÁËÊÕ¼þÏ䣬²¢ÏÔʾ¶þÊ®·âÓʼþÁÐ±í¡£
´ËʱÃüÁîÌáʾ·ûΪ"&"
unread ±ê¼ÇΪδ¶ÁÓʼþ
h|headers ÏÔʾµ±Ç°µÄÓʼþÁбí
l|list ÏÔʾµ±Ç°Ö§³ÖµÄÃüÁîÁбí
?|help ÏÔʾ¶à¸ö²é¿´ÓʼþÁбíµÄÃüÁî²ÎÊýÓ÷¨
d ɾ³ýµ±Ç°Óʼþ ......
ÒÔ¹ÜÀíÔ±Éí·Ý½øÈëLinux£¬ÐÞ¸ÄÎļþ£º/etc/inittab
ÕÒµ½“id:5:initdefault:”£¬ÆäÖеÄ5¾ÍÊÇX-Window£¬ÎªÄ¬ÈÏÔËÐ춱ð£¬Ò»°ãÎÒÃÇ°Ñ5¸ÄΪ3¼´¿É¡£
Ò»¹²ÓÐ7ÖÖÆô¶¯¼¶±ð£¬·Ö±ðΪ£º
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user ......