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

linux ×î»ù±¾µÄÃüÁһ£©

linux  Æô¶¯Ë³Ðò
load bios
read MBR£¨Ó²Å̵ÄÖ÷Òýµ¼¼Ç¼£¬°üÀ¨Èý¸ö²¿·ÖMBR¡¢Ó²ÅÌ·ÖÇø±íDPTºÍÓ²ÅÌÓÐЧ±êÖ¾£© find
out the OS
load the OS
init process starts //Ö´ÐÐetcĿ¼ÏµÄÎļþ
execute run level scripts
//·Ö²ãÆô¶¯ 6¸ö ²ã´Î
//NFS -- ±íʾ¿ÉÒÔºÍÆäËûÈËÁªÍø
execute /etc/rc.d/rc.local
//¿ÉÒÔ¸ü¸Ä Æô¶¯Ñ¡Ïî
**************************
ÃüÁî
logout ×¢Ïú
exit Í˳ö
shutdown ¹Ø»ú time ²ÎÊý ±ØÐëÓÐ
linux ÏÂÍ˳ö Ò»°ãÓÐ q/ ctrl + C / crtl + D
man shutdowm Ïêϸ½éÉÜ shutdownÃüÁî
--htlp
--£¿
ls -l
Áгö ËùÓÐÎļþ  ÒÔd¿ªÍ·µÄÊÇĿ¼ ÒÔ-¿ªÍ·µÄÊÇÎļþ
mkdir *** ´´½¨Ä¿Â¼
rm -rf *** Ñ­»·É¾³ý Ŀ¼ ºÍĿ¼ÀïÃæµÄÐÅÏ¢
touch 1 ´´½¨ Îļþ //linuxÏÂÎļþµÄºó׺Ãû ûÓÐÒâÒå 
rm -f 1 //Ç¿ÖÆɾ³ý
cp 1 2 // ½«Îļþ 1 ¸´ÖÆÒ»·Ý ÎļþÃûΪ2
cp -r d1 d2 //¸´ÖÆĿ¼ -r ±íʾ Ñ­»·¸´ÖÆ
mv Òƶ¯
vi ÎÄ°æ±à¼­Æ÷
vi 3.txt
viÏÂÃæ ·ÖΪÁ½ÖÖģʽ£ºÃüÁîģʽ ±à¼­Ä£Ê½
a  ¿ªÊ¼ÊäÈë
°´ esc ½øÈëÃüÁîģʽ
 
£ºw ´æÅÌ
£ºq Í˳ö
: q ! ²»´æÅÌÍ˳ö
vi 3.txt
´ò¿ªÎļþÃüÁî
dd ɾ³ýÒ»ÐÐ
dw ɾ³ý Õû¸öµ¥´Ê
o ²åÈëÒ»ÐÐ
q£¡ ²»´æÅÌ Í˳ö
ÏÔʾÎļþ
cat ˳ÐòÏÔʾ
more ·ÖÒ³ÏÔʾ
tac ÄæÐòÏÔʾ 
head -3 3.txt ÁгöÇ°ÈýÐÐ
tail -3 3.txt ÁгöºóÈýÐÐ
tail -f ²é¿´ÈÕÖ¾Óà ÁгöиüеIJ¿·Ö
find ²éÕÒÎļþ
****************
dos Ï¿´»·¾³±äÁ¿ echo %path%
****************
linux echo $path
ln ´´½¨Á´½Ó
ln 3.txt 4 // Ï൱ÓÚ ¸´ÖÆÒ»·Ý Ô´Îļþ ÔÚ¸´ÖƵÄÉÏÃæ ½¨Á¢ µÄÁ´½Ó
ln -s 3.txt 5//Ï൱ÓÚwindowµÄ¿ì½Ý·½Ê½
**********************************
Ìí¼Ó Óû§ useradd testuser
   passwd  testuser
**********************************
etc/passwd (¿ÉÒÔÏÔʾ Óû§ÐÅÏ¢)
shell ½Å±¾·ÖΪ ÒÔϼ¸ÖÖ
bash
csh
ksh
sh
************
su Óû§Ãû £¨Çл»Óû§£©
ÏÔʾÓû§È¨ÏÞ
ls -l ÏÔʾ³öÎļþ¼ÐÏÂÃæµÄÐÅÏ¢
Ò»°ãÓоŸö×Ö·û±íʾȨÏÞ
rwx r±íʾ¶ÁȨÏÞ w±íʾдȨÏÞ x±íʾִÐÐȨÏÞ
 
¾Å¸ö·ÖΪ ÓµÓÐÕß Í¬×éµÄ ÆäËûÈË
chmod +x Ãû×Ö
Ôö¼Ó xµÄȨÏÞ
chmod u+x Ãû×Ö£¨g /o£©
Ò²¿ÉÒÔÓöþ½øÖƵķ½Ê½ÐÞ¸ÄȨÏÞ
Èç 777 ±íʾ¶þ½øÖÆ 111111111È«¶¼ÓÐ ÕâÑù±íʾËùÓÐÓû§¶¼ÓÐȨÏÞ
101 111 011 ȨÏÞ r-x rwx -wx
chown ¸ü¸ÄËùÓÐÕß
chown Óû§ ÎļþÃû


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨Èý£© HCI²ã±à³Ì

1. HCI²ãЭÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI)  ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈЭÒé ......

Linux Enterprise5 ÏÂ×Ô¶¯Æô¶¯ Mysql ºÍApacheµÄÅäÖÃ

1. Mysql ×Ô¶¯Æô¶¯µÄÅäÖÃ
ÔÚMySQL°²×°³ÌÐòµÄ½âѹ°ü
/usr/local/mysql/support-files
myslq.serverµÄÆô¶¯½Å±¾³ÌÐò=¡· ¸´ÖÆ/etc/rc.d/init.dĿ¼
[root@localhost ~]# cd /etc/rc.d/init.d
¸´ÖƲ¢ÖØÃüÃûΪmysql
[root@localhost init.d]# cp /usr/local/mysql/support-files/mysql.server mysql
¸ü¸ÄÊôÐÔ¸ÄΪ“x& ......

Linux ÎļþÀàÐͼ°ÎļþµÄÀ©Õ¹Ãû

ÕªÒª£º LinuxÎļþÀàÐͳ£¼ûµÄÓУºÆÕͨÎļþ¡¢Ä¿Â¼¡¢×Ö·ûÉ豸Îļþ¡¢¿éÉ豸Îļþ¡¢·ûºÅÁ´½ÓÎļþµÈ£¬Èç¹ûÏëÁ˽âÕâ·½Ãæ֪ʶµÄµÜÐÖ£¬¾Í½øÀ´Á˽âÁ˽⡣±¾ÎÄÓ¦¸Ã˵ÊÇ»ù´¡Îĵµ¡£
Ŀ¼
 
2.1 ÆÕͨÎļþ£»
2.2 Ŀ¼£»
2.3 ×Ö·ûÉ豸»ò¿éÉ豸Îļþ£»
2.4 Ì×½Ó¿ÚÎļþ£»
2.5 ·ûºÅÁ´½ÓÎļþ£»
1¡¢LinuxÎļþµÄÀ©Õ¹Ãû£»
2¡¢Linux Î ......

linux ³£ÓÃÃüÁî


ϵͳÐÅÏ¢
arch
ÏÔʾ»úÆ÷µÄ´¦ÀíÆ÷¼Ü¹¹(1)
uname -m
ÏÔʾ»úÆ÷µÄ´¦ÀíÆ÷¼Ü¹¹(2)
uname -r
ÏÔʾÕýÔÚʹÓõÄÄں˰汾
dmidecode -q
ÏÔʾӲ¼þϵͳ²¿¼þ – (SMBIOS / DMI)
hdparm -i /dev/hda
ÂÞÁÐÒ»¸ö´ÅÅ̵ļܹ¹ÌØÐÔ
hdparm -tT /dev/sda
ÔÚ´ÅÅÌÉÏÖ´ÐвâÊÔÐÔ¶ÁÈ¡²Ù×÷
cat /proc/cpuinfo
ÏÔʾCPU infoµÄÐÅÏ¢
c ......

LinuxÏ°²×°¡¢²é¿´¡¢É¾³ýÈí¼þ°ü

LinuxÏ°²×°¡¢²é¿´¡¢É¾³ýÈí¼þ°ü
ÔÚLinux ²Ù×÷ϵͳϼ¸ºõËùÓеÄÈí¼þ¾ùͨ¹ýRPM ½øÐа²×°Ð¶Ôؼ°¹ÜÀíµÈ
²Ù×÷RPM µÄÈ«³ÆΪRedhat Package Manager ÊÇÓÉRedhat ¹«Ë¾Ìá³öµÄ
ÓÃÓÚ¹ÜÀíLinux ÏÂÈí¼þ°üµÄÈí¼þLinux °²×°Ê±³ýÁ˼¸¸öºËÐÄÄ£¿éÒÔÍâÆä
Ó༸ºõËùÓеÄÄ£¿é¾ùͨ¹ýRPM Íê³É°²×°RPM ÓÐÎåÖÖ²Ù×÷ģʽ·Ö±ðΪ
°²×°Ð¶ÔØÉý¼¶²éѯºÍÑ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ