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

һЩÒ×ÍüµÄlinux֪ʶµã£¨Ò»£©

 0, ¸´Ï°ÒѾ­Ñ§¹ýµÄ Linux ֪ʶ£¬ÕûÀíÁËЩÈÝÒ×ÍüµôÁ˵ķÅÕâ
 1, ÃüÁîÐÐÖÐÒ»´Î¿ÉÒÔÊäÈë¶à¸öÃüÁÖмäÒԷֺźŸô¿ª
 2, ÃüÁî¹ý³¤¿ÉÒÔÓÃ'\' £¨backslash £©¶Ï¿ªÐ´µ½¶à¸öÎïÀíÐÐÉÏ
 3, I/O Öض¨ÏòµÄÊéд˳ÐòÊÇÖØÒªµÄ£¬ÏµÍ³´Ó×óÏòÓÒɨÃèÃüÁîÐÐ
 4, ¹ÜµÀÊÇÒ»ÖÖÌØÊâµÄI/O Öض¨Ïò
 5, tee Èýͨ¹ÜʽÃüÁî tee filename
 6, ÎÞ×Ö·û[...] ÖÐÀý¾ÙʱÎÞÐè¿Õ¸ñ¸ô¿ª, Çø·Ö´óСд
 7, ls ÃüÁîºóÃæ¿ÉÒÔ¸ú×Ŷà¸öÒª²é¿´µÄÎļþ
 8, echo ºóÃæµÄÒýºÅµÈ»á±»ºöÂÔ£¬³ý·ÇÃ÷ȷתÒå
 9, Ë«ÒýºÅ²»ÄÜתÒå! $ ' \ { } ÕâЩ×Ö·û, µ¥ÒýºÅÔò¿ÉÒÔ
10, ÃüÁîÀúÊ·±£´æÔÚ$HOME/.bash_history ÎļþÖÐ
11, fc -s ÃüÁîµÈ¼ÛÓÚ!! µÈ¼ÛÓÚ!!-1
12, history -c Çå¿ÕÀúÊ·ÃüÁî
13, alias ÃüÁîÖеĵȺÅ×óÓÒ²»ÄÜÓпոñÈ¡Ïû±ðÃû¿ÉÓÃunalias ÃüÁî
14, jobs fg bg kill & ÃüÁîÓÃÓÚ¶àÈÎÎñµ÷¶È
15, ϵͳԴ´úÂë±£´æÔÚ/usr/src ÖÐ
16, linux ¶ÔÎļþÃûûÓÐÇ¿¼ÓÈκÎÔ¼¶¨£¬Ò²²»»á¶ÔÀ©Õ¹ÃûÓÐÈκνâÊÍ
17, od ÃüÁîÓÃÓÚ½â¶Á¶þ½øÖÆÎļþ£¬Ä¬ÈÏÓÃ8 ½øÖÆÏÔʾ
18, Ó²Á¬½ÓÒªÇóÁ½¸öÁ´½ÓÎļþÔÚͬһ¸öÎļþϵͳÖУ¬¶ø·ûºÅÁ´½ÓÔòûÕâÒªÇó
19, ÈýÖÖ´´½¨ÎļþµÄ·½·¨£ºtouch , >file ,echo >file
20, ls -k ÓÃÓÚÖ¸¶¨´óСÒÔKB Ϊµ¥Î»£¬£­R ÔòÖ¸¶¨µÝ¹éÏÔʾ
21, Ctrl + V ¿ÉÒÔÓÃÀ´´ú±íÒ»¸ö¿ØÖÆ×Ö·û Èç mv fi^Vabc^Vdkf .. µ±È»Ò²¿ÉÒÔÓõ¥ÒýºÅ
22, cat ÃüÁ¿ÉÒÔÓÃÀ´ºÏ²¢Îļþ eg: cat chap1 chap2 chap3 > usrfile
23, more ºÍless µÄһЩÃüÁî¼ü£º iSpace, iEnter, id( ÉÏ°ë) , iu( Ï°ë) , if, ib(more only) h(help)
24, head tail ĬÈÏ10 ÐУ¬¿ÉÒÔÏÔʽָÃ÷ÐÐÊýhead|tail -|+12 file tail -f file ¶¯Ì¬ÏÔʾ
25, cp,mv,rm : -i Ìáʾ -f Ç¿ÖÆ -r(rm ûÓÐ) µÝ¹é Îļþ£¬Îļþ¼Ð¶¼ÊÊÓÃ
26, ln ÓÃÓÚ½¨Á¢Á´½Ó -s ÃüÁîÖ¸Ã÷ÈíÁ´½Ó( ·ûºÅÁ´½Ó)
27, find ,grep ºóÃ涼¸úÕýÔò±í´ïʽ find ÆðʼĿ¼ Îļþ -exec ÃüÁî{} \+|; {} ´ú±íËÑË÷½á¹û
28, grep -inv patten file i:ignorecase n: ÏÔʾÐкŠv: È¡·´£¬²»°üº¬
29, ÕýÔò±í´ïʾ: . µ¥×Ö·û + ÖÁÉÙÒ»¸ö×Ö·û \ תÒå ^$ ¿ÕÐÐ
30, sort -nkr n °´Êý×Ö k ¹Ø¼üÁУ¨-k5 £© r ·´Ðò£¨´ó£­> С£©
31, vi ÖÐshift+zz µÈͬÓÚ Esc+:+wq!+Enter fedora £ºalias vi=vim
ÒÔÏÂShell ±à³Ì·½Ãæ
32, ϵͳÿ´ò¿ªÒ»¸ö½ø³Ì¶¼»áÖ´ÐÐ~/.bashrc Îļþ, ¿ÉÒÔ±»Óû§ÓÃÀ´×÷һЩ¹¦Äܵijõʼ»¯
33, $? ×î½üÒ»´Î³ö¿Ú״̬£»$# λÖòÎÊ


Ïà¹ØÎĵµ£º

Linux iptableÎĵµ

×ÜÀÀ
ÓÃiptables -ADC À´Ö¸¶¨Á´µÄ¹æ
Ôò
£¬-AÌí¼Ó -Dɾ³ý -C ÐÞ¸Ä
iptables - [RI] chain rule num rule-specification[option]
ÓÃiptables - RI ͨ¹ý¹æÔòµÄ˳ÐòÖ¸¶¨
iptables -D chain rule num[option]
ɾ³ýÖ¸¶¨¹æÔò
iptables -[LFZ] [chain][option]
ÓÃiptables -LFZ Á´Ãû [Ñ¡Ïî]
iptables -[NX] chain
ÓÃ -NX ......

linux shell ½Å±¾ÈëÃÅ


1. Linux ½Å±¾±àд»ù´¡
1.1 Óï·¨»ù±¾½éÉÜ
1.1.1 ¿ªÍ·
³ÌÐò±ØÐëÒÔÏÂÃæµÄÐпªÊ¼£¨±ØÐë·½ÔÚÎļþµÄµÚÒ»ÐУ©£º
#!/bin/sh
·ûºÅ#!ÓÃÀ´¸æËßϵͳËüºóÃæµÄ²ÎÊýÊÇÓÃÀ´Ö´ÐиÃÎļþµÄ³ÌÐò¡£ÔÚÕâ¸öÀý×ÓÖÐÎÒÃÇʹÓÃ/bin/shÀ´Ö´ÐгÌÐò¡£
µ±±à¼­ºÃ½Å±¾Ê±£¬Èç¹ûÒªÖ´Ðиýű¾£¬»¹±ØÐëʹÆä¿ÉÖ´ÐС£
Ҫʹ½Å±¾¿ÉÖ´ÐУº
±àÒë chmod +x ......

Linux Ubuntu 9.1 fcitx СÆó¶ì ÖÐÎÄÊäÈë·¨°²×°

Ô­ÎĵØÖ·£º
Linux Ubuntu 9.1 fcitx Ð¡Æó¶ì ÖÐÎÄÊäÈë·¨°²×°
×÷Õߣº
½¥Ðн¥Ô¶µÄ´¬
°²×°Ubuntu9.1£¬Ñ¡ÔñÖÐÎÄ°²×°¡£
°²×°ºÃºó£¬UbuntuÒѾ­×Ô´øÁËÒ»¸öibusÖÐÎÄÊäÈë·¨£¬¿ÉÊÇÓÃÆðÀ´ºÜ²»Ë¬£¬²»ÈçСÆó¶ì·½±ã¡£
°²×°Ð¡Æó¶ì·½·¨£¬ºÍÍøÉϵıȽϣ¬ÕâÀïµÄ¿ÉÄÜÊDZȽϼòµ¥µÄÁË£¬ÅäÖÃÒª¼òµ¥¶àÁË¡£µçÄÔÒªÁªÍø ......

һЩ³£ÓõÄLinuxÃüÁî

¡¡¡¡×ܽáһЩ³£ÓõÄLinuxÃüÁî¡£
Ò»¡¢LinuxÄں˺Ͱ汾²éѯÃüÁî
¡¡¡¡ÃüÁ uname -a
¡¡¡¡×÷Ó㺠²é¿´ÏµÍ³Äں˰汾ºÅ¼°ÏµÍ³Ãû³Æ¡£
¡¡¡¡ÃüÁ cat /proc/version
¡¡¡¡×÷Ó㺠²é¿´Ä¿Â¼"/proc"ÏÂversionµÄÐÅÏ¢£¬Ò²¿ÉÒԵõ½µ±Ç°ÏµÍ³µÄÄں˰汾ºÅ¼°ÏµÍ³Ãû³Æ¡£
¡¡¡¡ÃüÁlsb_release -a
¡¡¡¡×÷Ó㺵Ǽµ½·þÎñÆ÷Ö ......

linuxÔ¶³Ì×ÀÃ旗ʹÓÃxmanager2.0

˵Ã÷£ºÏëÔÚwindowsÉÏ´ò¿ªÊ¹ÓÃÔ¶³Ìlinux×ÀÃæ¡£·½·¨Ò²ºÜ¶à¡£
1.vnc¡£Õâ¸öÔÚlinux¶ËÐèÒª°²×°³ÌÐò£¬ÐèÒªÔÚlinuxÉÏÔËÐÐÏàÓ¦µÄ³ÌÐò£¬²ÅÄÜʹwindowsÁ¬½ÓÉÏÈ¥¡£²»Ì«·½±ã¡£
2.xmanager.Ö»ÒªÐÞ¸ÄÒ»ÏÂlinuxÀïµÄ¼¸¸öÎļþÉèÖþͿÉÒÔʹÓᣣ¨ÓëwindowsµÄÔ¶³Ì×ÀÃæÒ»Ñù£¬Ö»ÐèÒª¹´ÉÏÔ¶³Ì×ÀÃæÑ¡Ï
linuxÉÏÉèÖÃÏîÄ¿£º
1¡£ÐÞ¸Ä/etc/X11/xd ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ