《Unix&Linux Shell Programming I.ppt》由会员分享,可在线阅读,更多相关《Unix&Linux Shell Programming I.ppt(17页珍藏版)》请在人人文库网上搜索。
1、Unix/Linux Shell Programming I,Dec 14th 2011 Shen Wei,Agenda,Unix/Linux Introduce Shell Introduce Command Login Environment Tips & Tricks Exercises Q&A,Unix/Linux Introduce,Shell Introduce,The shell is a command programming language that provides an interface to the UNIX/Linux operating system,Shell。
2、 Introduce,Shell Introduce,sh Best Performance bash Best man-machine interaction ksh Best compatibility csh Provides C language similar gramma,Command,Basic File System Process IO & Pipe Network,Command - Basic,who echo id date which hostname man uptime,Command File System,ls touch cd mkdir mv rm pw。
3、d ln,Command File System,cat more vi chown chmod find,Command - Process,ps & sleep jobs bg/fg nohup kill subshell,Command IO&Pipe,| tee 0 1 2,Command - Network,ping ifconfig telnet ftp ssh netstat scp nslookup,Login Environment,/etc/profile $HOME/.profile stty .logout Environment Variable,Tips & Tri。
4、cks - Sample,Delete these files which over 7 days and size than 20M in your output folder VI basic practice Put your scripts(5) background run and monitor the running status Customize your environment by profile Using ftp to upload/download file,Exercises,Customize your logout environment Create your bin folder and link some command in it How to kill your SQLPLUS session Put your scripts with log record background Get the IP and hostname by TNS name Explain the catcatfile test.sh,Q & A。