ҵͨ

ijlinux֪ʶpptѧϰʼһ

Դ Linuxϵͳ ʱ 2012-03-27

Ҹеûʱdown,и֪ʶϺüG,ǻûп.ǹ²Ļϰ.Ȼֻֽϰ߰Լ,˺öͨ׶ʵ,ȻʵǽԼĹ˵.ͰҸΪʵõ֪ʶժ¼,Ҳӡɣ

***bashLinuxϵͳеshell֮һ,48ڽʮв.ȼĿ

***Զִнűļ

>ʼļ/etc/rc/etc/bashrc/etc /profile

~áȫ֡,绷ڵһε¼ʱ㷢һϢ.

>ûĿ¼е.bashrc¼ļ

~bash shellзʽ߶ԲͬĻӦ,.

>ûĿ¼.bash_profile

~֪ͨshellû¼ϵͳӦʹһԴļ.

***ʾ

-printenv

-env

-set

***

~Ǿ̬,Ƕ̬ģ

~,еijΪ̣

~һеijԲ.

~ռϵͳԴ,ʹϵͳԴ.

***̨г

~ļĿ¼ļ,,ȡɾȲռϵͳԴ,ʹúܳʱ,˿԰Ƿŵ̨.

&

nohup &nohupûù,Ӧúã

***̽

1.ǰ̨̿ʹϼctrl cж

2.killɱ̣pid,

***sleep˯

sleep [time]

ǽ̽˯,timeΪλ.sleepڽűаʱȴõ.

***cdĿ¼л

ֻ˵һ,ٻصԼûĿ¼µ

cdcd ~

***find

ѡ -name,-type,-mtime

-exec,-ok ,xargsʹ.

find / -type f -name myfilename -mtine n -exec||-ok command {} \;

find /-type d |xargs command

***lsгĿ¼嵥

-m ļöŷָʾһ
-x ˮƽķʽȱʡĴֱ뷽ʽгļ
-F ʾĿ¼Ϳִļ
-R ʾĿ¼

***catгϲļ

1.cat 1.txt 2.txt>3.txt

2.cat >newfile

ļ,ʱ,crtl d,ݱ浽newfile

***tail: һֱʾļ仯
tail -f filename
һЩ־ļصȺ.

ij sys ,ر˳http://systone.blog.51cto.com/39020/657306

ڿƼרҵṩáйܡҵʾ֡ȷ񣬹˾վhttp://www.lingzhong.cn Ϊ˸ͻ˽ļϢռԴ,ڿƼߵİȨ漰İȨбҪɾ£ϵϢDzɷָһ,Ҫתر,뱣Ϣлл!

Copyright ©1999-2011 ڿƼ޹˾ ͨƼ޹˾ All rights reserved

ַ(ADD)԰·63701Eͨԣ ʱ(ZIP)361008

绰0592-5908028 棺0592-5908039 ѯ䣺web@lingzhong.cn ѯOICQ173723134

л񹲺͹ֵҵӪ֤B2-20100024  ICP:ICP05037997