ImageVerifierCode 换一换
格式:PPT , 页数:142 ,大小:1.04MB ,
资源ID:13790038      下载积分:10 金币
快捷注册下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

开通VIP
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.zixin.com.cn/docdown/13790038.html】到电脑端继续下载(重复下载【60天内】不扣币)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

开通VIP折扣优惠下载文档

            查看会员权益                  [ 下载后找不到文档?]

填表反馈(24小时):  下载求助     关注领币    退款申请

开具发票请登录PC端进行申请

   平台协调中心        【在线客服】        免费申请共赢上传

权利声明

1、咨信平台为文档C2C交易模式,即用户上传的文档直接被用户下载,收益归上传人(含作者)所有;本站仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。所展示的作品文档包括内容和图片全部来源于网络用户和作者上传投稿,我们不确定上传用户享有完全著作权,根据《信息网络传播权保护条例》,如果侵犯了您的版权、权益或隐私,请联系我们,核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
2、文档的总页数、文档格式和文档大小以系统显示为准(内容中显示的页数不一定正确),网站客服只以系统显示的页数、文件格式、文档大小作为仲裁依据,个别因单元格分列造成显示页码不一将协商解决,平台无法对文档的真实性、完整性、权威性、准确性、专业性及其观点立场做任何保证或承诺,下载前须认真查看,确认无误后再购买,务必慎重购买;若有违法违纪将进行移交司法处理,若涉侵权平台将进行基本处罚并下架。
3、本站所有内容均由用户上传,付费前请自行鉴别,如您付费,意味着您已接受本站规则且自行承担风险,本站不进行额外附加服务,虚拟产品一经售出概不退款(未进行购买下载可退充值款),文档一经付费(服务费)、不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
4、如你看到网页展示的文档有www.zixin.com.cn水印,是因预览和防盗链等技术需要对页面进行转换压缩成图而已,我们并不对上传的文档进行任何编辑或修改,文档下载后都不会有水印标识(原文档上传前个别存留的除外),下载后原文更清晰;试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓;PPT和DOC文档可被视为“模板”,允许上传人保留章节、目录结构的情况下删减部份的内容;PDF文档不管是原文档转换或图片扫描而得,本站不作要求视为允许,下载前可先查看【教您几个在下载文档中可以更好的避免被坑】。
5、本文档所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用;网站提供的党政主题相关内容(国旗、国徽、党徽--等)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
6、文档遇到问题,请及时联系平台进行协调解决,联系【微信客服】、【QQ客服】,若有其他问题请点击或扫码反馈【服务填表】;文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“【版权申诉】”,意见反馈和侵权处理邮箱:1219186828@qq.com;也可以拔打客服电话:0574-28810668;投诉电话:18658249818。

注意事项

本文(UNIX-CVS_New.ppt)为本站上传会员【pc****0】主动上传,咨信网仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知咨信网(发送邮件至1219186828@qq.com、拔打电话4009-655-100或【 微信客服】、【 QQ客服】),核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载【60天内】不扣币。 服务填表

UNIX-CVS_New.ppt

1、a,b,c,d,e,加拿大达内科技公司,Technologies,Inc.,达内外企,IT,培训,海外师资、北美技术、外企经验,www.T,电话:010-62136369;,021-61202630,*,软 件 工 程 师 培 训 系 列 教 材,UNIX&CVS,版权所有,翻印必究,Software Development in Unix Environment,UNIX,操作系统(第五版),Jerry Peek,Grace,Todino,&John,Strang,著 龚志翔 等译,2003年1月,出版,书号,:7-111-10164-2,页数,:188,定价,:26.00,元,Refere

2、nce Book,Log in and out of a Solaris system,Navigate the Solaris file system,Create files and directories,and change their permissions,Manipulate text files,and use the vi text editor,Use commands to search directories and files,Use basic network commands,Identify and modify initialization files,Cou

3、rse Objectives,Training Environment:,SUN Ultra 10 Workstation with Solaris Operating System,Expecting days:,3 days,Environment and Duration?,Ch1 Solaris Computing Environment,Others,Mac,Unix,Linux,Windows,SUN,IBM,HP,SGI,FreeBSD,DEC,SCO,RedHat,SuSE,SlackWare,红旗,NT,98,2000,XP,UNIX and Other Operating

4、Systems,The Solaris is the Sun version of the UNIX system,1965 Bell Laboratories joins with MIT and GE in the development effort for the new operating system,Multics,1970,Jan 1 time zero for UNIX.It is named by Bell Labs programmers,Brian Kernighan and Dennis,Ritche,1973 Unix is re-written mostly in

5、 C,1980,BSD,4.1(Berkeley Software Distribution).Berkeley added VM support,TCP/IP networking,vi,csh,and more,1983 SunOS was based on BSD UNIX Version 4.2,1988 AT&T and Sun Microsystems jointly develop System V Release 4(,SVR4,).This would later be developed into Solaris 2,Introduction to Solaris,Rele

6、ase,sunOS,Solaris HP-UX AIX Windows,Redhat,Linux,Date version version version version version version,Halloween,Unix Version History,What can it do?,Server:Web server,Mail server,Database Server,Program Development,Who should know Unix?,Unix administrator,Oracle Administrator,Network Engineer,Progra

7、m Developer,More about Unix,Input devices,Output devices,RAM,CPU,I/O,Hard disk,Hardware,Operating System vs.Application Software,Client vs.Server,Software,Solaris OS,Kernel,Shell,File System,Hardware,Kernel,Shell,CPU,Manages devices,memory,and processes,Controls the functions between the system prog

8、rams/utilities and the system hardware,Manages swap space,daemons,file systems,and other functions,Kernel,A shell is an interface between the user and the kernel,which acts as an interpreter or translator,Four,shells are available in the Solaris environment:,Bourne shell (,sh,),Korn,shell (,ksh,),C

9、shell (,csh,),Bourne-again shell (bash),Shell,Written by Stephen Bourne for AT&T Unix,The earliest and best-known Unix shell,Common denominator of most shell scripting,Bourne-Again Shell(bash),#,root,$,user,Bourne Shell(,sh,),Created as part of BSD Unix by Bill Joy,the author of vi,at the University

10、 of California at Berkeley,Introduced command-line history and a programming environment similar to the C programming language,Not compatible with Bourne shell syntax,tcsh,an enhanced but totally compatible,csh,#,root,%user,C Shell(,csh,),A hierarchy of directories,subdirectories,and files grouped t

11、ogether for a specific purpose.,Directory A location for other files and directories.The directory structure enables you to create files and directories accessed through a hierarchy of directories.,Subdirectory Any directory below another directory.For example,some of the subdirectories under the/di

12、rectory are/,usr,/etc,and/kernel.,The File System,The/(root)file system,On/dev/dsk/c0t0d0s0,/,opt,etc,dev,usr,kernel,var,export,default,dsk,adm,home,bin,share,lib,On/dev/dsk/c0t0d0s6,The/,usr,file system,Application 1,Application 2,user1,user2,user3,On/dev/dsk/c0t0d0s5,The/opt file system,The/export

13、/home file system,On/dev/dsk/c0t0d0s7,A pathname uniquely identifies a particular file or directory by specifying its location,A slash(/)between each directory name in the path to indicate different directories,A slash in the first position represents the/directory,Absolute Pathname,Specifies a file

14、 or directory in relation to the/directory,Begin with a slash,Relative Pathname,Specifies a file in relation to the current working directory,Do not begin with a slash,Pathnames,$Command option(s)arguments,A space must be used as a delimiter between each part of the command line,Up to 256 characters

15、 can be entered on a single command line,Different from DOS,Case sensitive,Different command prompt:/,Command-Line Syntax,Ch2 Login/Logout,Login,telnet 192.168.0.21,login:(username),password:(users password),Logout,exit or logout,Must be six to eight characters in length,Should contain at least two

16、alphabetic characters and one numeric or special character,Must differ from the login ID,Must differ from the previous password by at least three characters,Password Requirements,Changing passwords frequently helps avoid unauthorized access,Type the,passwd,command,Type your current password and pres

17、s Return,Type your new password and press Return,Retype the new password and press Return,Changing Your Password,/etc/,passwd,root:x:0:1:Super User:/:/bin/,sh,/etc/shadow,root:daGaerRdafGEg,:,User name vs.UID,Users home directory,User Accounts,Ch3 Basic Unix Commands,Clear the terminal screen,clear,

18、clear,Display the absolute pathname of the current directory,(print working directory),pwd,pwd,Change Directories,Accept both absolute and relative pathnames,Current directory,.,Parent directory.,cd,directory_name,cd,/export/home/jerry,cd,jerry/dir1,cd,cd,./.,cd,Displaying a Listing of Files and Dir

19、ectories,ls,aDisplaying hidden files,Hidden file:a file started with a“.”,ls,RDisplaying a recursive listing,ls,tSorts by time stamp instead of by name,ls,lDisplaying a long list,d,rwx,r-x,r-x,4 user nobody 1024 Feb 22 09:20 a.txt,文 拥 同 其 链 拥 拥 大 最后一次 文,件 有 组 它 接 有 有 小 修改时间 件,类 者 人 人 号 者 组 名,型 权 权 权

20、限 限 限,ls,d directory,-,normal file,file filename(s),Text,including ASCII text,English text,commands text and executable scripts,Executable or Binary,including 32-bit executable and extensible linking format(ELF)code files and other dynamically linked executables,Data,those created by an application

21、 running on the system,ls,FDisplaying file types,目录文件/,可执行文件*,文本文件,(,none),File Type,r-,读权限,w-,写权限,对目录来说,可生成文件与子目录或删除文件与子目录,x-,执行权限,对目录来说,可查找该目录下内容,-,没有权限,如,-,rw,-,r-,r,拥 同 其,有 组 它,者 人 人,其中 拥有者-生成文件时登录的人,权限最高,u,表示,同组人-系统管理员分配的同组的一个或几个人,g,表示,其它人-除拥有者,同组人外的人,o,表示,所有人-包括拥有者、同组人及其它人,a,表示,File Permission

22、Change permissions,Symbolic mode uses combinations of letters and symbols,chmod,g-r file1,chmod,u+x,go+r file1,chmod,a=,rw,file1,chmod,chmod,mode filename,who cp permission(s),r Read,w Write,x Execute,=Set permissions,-Remove access,+Give access,u User or owner of the file,g Group to which the file

23、 belongs,o Others outside owner and group,a All of the above,Octal mode uses octal numbers,chmod,555,dante,chmod,644,dante,chmod,755,dante,Octal Value Permissions,4 Read,2 Write,1 Execute,Octal Value Permissions,7 r w x,6 r w -,5 r -x,4 r -,3 -w x,2 -w -,1 -x,0 -,Create new,empty files or update acc

24、ess and modification times,touch filename(s),touch,Create directories using either an absolute or a relative pathname,Must have the appropriate permissions to create a directory,mkdir,-p directory_name,mkdir,dir1/dir2,mkdir,dir3 dir4 dir5,mkdir,/games,mkdir,-p dir6/dir7/dir8,mkdir,Copy files,cp-i so

25、urce_file destination_file,cp-i source_file(s)destination_directory,cp beans apple,cp beans apple dir2,cp i beans apple,Copy a directory and its contents to another directory,cp-ri source_directory(s)destination_directory,cp-r dir3 dir4,cp-r dir3 dir4/,tmp,cp,Move or rename files and directories,mv,

26、i source target_file,mv,-i source target_directory,mv,nuts beans,mv,/export/home/jerry/brands ,mv,dir5 dir6,mv,Remove files,rm,-i filename(s),rm,file1 file2 file3,rm,-i file4,Removing Directories,rmdir,directory_name(s),rm,-ri directory_name(s),rmdir,empty_dir,rm,r dir6,rm,ir,/dir7,rm,&,rmdir,Creat

27、e alternate names or aliases for files and directories,Two kinds of links,hard and symbolic(or soft),ln,-s source_file target_file,ln,Symbolic links,link a file or directory across file systems,Link 1,file2,Data blocks,Data blocks,/file2,Hard links,Used to link files on the same file system,Files th

28、at are hard linked share the same,inode,number and refer to the same data on the hard disk,file2,file1,dir1,Data blocks,Data blocks,file1=,inode,1282,file2=,inode,1282,The UNIX Manpages describes information about the systems on-line commands,system calls,file formats,and system maintenance,man name

29、man k keyword,Scrolling in,Manpages,SpacebarScroll through a manual page one screen at a time,ReturnScroll through a manual page one line at a time,bMove back one screen,f Move forward one screen,q Quit the man command,/stringSearch forward for information,n Find the next occurrence of string,man-,

30、man is your friend,Are keyboard characters with special meaning to the shell,Examples:,;$%!*?|,Except The dot(.)and underscore(_),Ch4,Metacharacters,Represents zero or more characters,ls,d*,Asterisk(*),Represents any single character,ls,d?,ls,z?.txt,Question Mark(?),Match a set or range of character

31、s to a single character position,ls,b-fb*,ls,fFf,*a?c,Square Brackets(),Enter multiple commands on a command line,cd;ls,date;cal;pwd,Semicolon(;),Use()to redirect the output of a command to a file rather than,to the screen,Use()to append the output of a command to an existing file,cal 10 2004 a.txt,

32、cal 11 2004 a.txt,cat f2.txt,Angle Brackets(,),Takes the output of one command and passes it as input into a following command,cal 7 2003|,lp,ls,-l/etc|more,Piping(|),Configuration files,web pages,program source code are all text-based,Text viewers v.s.editors,Ch5 Text Editing,Displays the contents

33、of a text file on screen,Is often used to join two or more files into one large file,cat filename(s),cat/dev/null /b.txt,cat/etc/,passwd,|,awk,-F:print$1 “t”$6 ,|sort /,userinfo,cat,Displays the contents of a text file one screen at a time,more filename(s),Spacebar Scroll to the next screen,Return S

34、croll one line at a time,b Move back one screen,f Move forward one screen,h Display a Help menu of more features,q Quit and return to the shell prompt,/stringSearch forward for string,n Find next occurrence of string,more,Displays the first or last n lines of one or more files,Displays first or last

35、 10 lines by default,head-n filename(s),tail-n filename(s),tail-30/,usr/dict/words,head&tail,Command,mode,Last-line,mode,Entry,mode,Escape,Return,:/?,i a o,Ch6 vi Full Screen Text Editor,vi filenameOpen or create a file,vi Open a new file to be named later,Invoking vi,向上,k,向下,j,向左,h,向右,l,Positioning

36、i,在光标当前位置插入,a,在光标所在位置后插入,o,在光标所在行下插入一空行,退出插入状态,Input,x,删除一个字符,dw,删除当前词,3,dw,删除三个词,dd,删除当前行,5,dd,删除五行,:5,10,d,Deleting Text,r,替换一个字符,cw,替换一个单词,cc,替换一行,C,替换从光标至行尾,Changing Text,yw,拷贝词,yy,拷贝行(或,Y),p,当前行下粘贴,:1,2,co3,拷贝行1,,,行2在行3之后,:4,5m6,移动行4,,,行5在行6之后,Copying and Pasting Text,:,w,存盘,:,w,newfile,存成新文件,

37、wq,存盘退出,Vi(,或,ZZ,,或:,x),:q!,强行退出不存盘,Saving and Quitting Files,改变大小写,J,把当前行和下一行连起来,u,废除刚才的编辑操作(,undo),:,set,nu,显示行代码(:,set,nonu,),:21,光标停在指定行,21,G,光标停在指定行,(G,到文件尾,1,G,到文件头),/串从当前行往下查找,?串从当前行往上查找,n,查找继续,:r file2,在光标所在位置插入另一个文件,:1,$,s/,旧串/新串/,g,替换全文(或:%,s/,旧串/新串/,g),Advanced Editing Options,Systems T

38、esting Technicians:,Systems testing technicians execute test plans to evaluate the performance of software applications and information and telecommunications systems.They are employed in information technology units throughout the private and public sectors.,Example Titles:,application tester,appli

39、cation testing technician,software test coordinator,software tester,systems tester,systems testing technician,Exercises:,/,usr,/bin,/,usr/sbin,/,usr/ucb,/,usr,/local/bin,Ch7 Finding Things on Unix,Displays the user name corresponding to the effective user ID,id option(s),id,id root,id a root,id,Disp

40、lay a compact list of users logged in,users,users,Displays information about all users currently logged on,to the local system,who,w,The who am i command displays information about your,real user ID,who am i,The,whoami,command displays only the login name of the,effective user,whoami,Finding People,

41、Find files based on specific criteria,then execute a command on the matching files,find path expression action,find/-name,perl,find.-,mtime,-10 print,find/etc-user 0 size+400 print,find -perm 777 /holes,find/export/home-type f-,atime,+365-exec,rm,;,find/export/home/html-name*.html-print|,xargs,perl,

42、p-,i.bak,-e“s/Copyright 2004/Copyright 2005/g;”,find,Searches a file for a specified text string and prints all lines that contain that pattern to the screen,case sensitive,grep option(s)string filename,-i Ignore case of string when searching,-v Search for all lines that do not match string,grep ro

43、ot /etc/,passwd,ls,-la|grep -i sep 1,grep,Displays a line,word,or character count of a file,wc,options filename(s),-l Counts lines,-w Counts words,-C Counts characters,grep,wang,/etc/,passwd,|,wc,-l,wc,Finds differences between text files,diff option file1 file2,diff,Summarize disk usage,du,sk,*,du,

44、list the processes currently running on the system,/,usr/bin/ps,-options,-e List every process now running,-f Generates a full listing,-u,uidlist,Processes whose real UID or login names are given,ps,ef,|grep telnet,/,usr/ucb/ps,-,auwx,prstat,ps,Terminate unwanted command processes that you cannot qu

45、it in the normal way,kill-signal process-id,kill 12932,kill-9 12418,sleep 1001&,pkill,sleep,kill,Ability to execute several jobs simultaneously,Command Value,jobsDisplay which jobs are currently running,fg,%nPlace a job in the foreground,bg,%n Place a job in the background,stop%nSuspend a background

46、 job,kill%nAbort the specified background job,Control-cAbort the foreground job,Control-zSuspend the foreground job.,/,usr/openwin/bin/admintool,&,Job Control,Ch8 Network Basics,Host Is a computer system on a network,Network Enables an exchange of information between machines,Local area network(LAN)

47、Covers a small area,Wide area network(WAN)Spans thousands of miles,Server Provides resources to clients via a network,Client Uses services from servers on a network,Client-Server,The seven-layered International Standards Organization ISO/OSI model,The five-layered TCP/IP network model,Application,Tr

48、ansport,Internet,Network Interface,Hardware,Networking Models,nfs,nis,+,dns,smtp,dhcp,snmp,http,rpc,rip,rlogin,telnet,ftp,TCP and UDP,IP,ARP,RARP,ICMP,Ethernet,ATM,FDDI,PPP,Query the hosts name,/etc/hostname.hme0,hostname,Enter IP number,subnet mask and default gateway,/etc/hosts,/etc/,netmasks,/etc

49、/,defaultrouter,TCP/IP Network Addressing,ping s host2,ifconfig,a,netstat,rn,rusers,-l tarenalab3,finger tarenalab3,traceroute,Important Files and Utilities,The Internet service daemon(,inetd,),/etc/,inet/inetd.conf,#,pkill,-HUP,inetd,Turn off unneeded services,Port numbers,/etc/services,Network Ser

50、vices,telnet,The telnet server simulates a terminal to allow you to connect to and work on a remote system,uses TCP/IP to connect to another system,telnet hostname port,rlogin,Establish a remote login session on another workstation,rlogin hostname,telnet and rlogin,Servers with sites set up for down

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        抽奖活动

©2010-2026 宁波自信网络信息技术有限公司  版权所有

客服电话:0574-28810668  投诉电话:18658249818

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :微信公众号    抖音    微博    LOFTER 

客服