版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、course materials may not be reproduced in whole or in part without the prior written permission of ibm.5.04.1 copyright ibm corporation 2008unit 2using the system copyright ibm corporation 2008unit objectivesafter completing this unit, you should be able to:log in and out of the systemstate the stru
2、cture of aix commandsexecute basic aix commandsuse aix commands to communicate with other users copyright ibm corporation 2008logging in and outlto log in:lto log out:login: team01team01s password: (the password does not appear)$ (or)$ exit(or)$ logoutlogin: copyright ibm corporation 2008passwordslc
3、reating or changing:$ passwdchanging password for team01team01s old password:team01s new password:enter the new password again:$ copyright ibm corporation 2008command format aix commands have the following format:$ command option(s) argument(s) $ ls$ ls l$ ls /dev$ ls l /dev copyright ibm corporatio
4、n 2008there are exceptions!command format exampleswrong:1. separation:$ mail - f newmail$ who-u2. order:$ mail newmail -f$ team01 mail$ -u who3. multiple options:$ who -m-u$ who -m u4. multiple arguments:$ mail team01team02right:1. separation:$ mail -f newmail$ who -u2. order:$ mail -f newmail$ mail
5、 team01$ who -u3. multiple options:$ who -m -u$ who -mu4. multiple arguments:$ mail team01 team02 copyright ibm corporation 2008the date and cal commandslchecking the date:llooking at a month:llooking at a year:$ datewed nov 14 10:15:00 gmt 2007$ cal 1 2003 january 2003sun mon tue wed thu fri sat 1
6、2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31$ cal 2007 copyright ibm corporation 2008the clear, echo, and banner commandslclear: clears the terminal screenlecho: writes what follows to the screenlbanner: writes character strings in large letters to the screen $ c
7、lear$ echo lunch is at 12:00lunch is at 12:00$ banner hello copyright ibm corporation 2008activity: questions and answers1. whats wrong with the following commands?$ du -s k_$ df-k_$ du -a-k_2. which command . changes your password?_. clears the screen?_. prints out the current system date?_. exits
8、the current shell?_ copyright ibm corporation 2008the who and finger commandslfinding who is on the system: lfinding who you are:ldisplaying information about the users currently logged on:$ whorootlft0 sept 4 14:29team01pts/0sept 4 17:21$ who am iteam01pts/0sept 4 17:21$ whoamiteam01$ finger team02
9、login name: team02directory: /home/team02shell: /usr/bin/kshon since mar 04 16:17:10 on tty3no plan. copyright ibm corporation 2008sending mail$ mail team01subject:meetingthere will be a brief announcement meeting todayin room 602 at noon.cc: $ mail team20sys2subject: dont forget!dont forget about t
10、he meeting today!cc: $ copyright ibm corporation 2008receiving mailyou have new mail$ mailmail 5.2 ucb aix5.x type ? for help/var/spool/mail/team01: 2 messages 1 new u 1 team05 tue jan 7 10:50 10/267 hello !n 2 team02 wed jan 8 11:25 16/311 meeting? t 2from team02 wed jan 8 11:25 2003date: wed 8 jan
11、 2003 11:25from: team02to: team01subject: meetingcc:there will be a brief announcement meeting today in room 602 at noon.? d(delete message)? q(quit mail command) copyright ibm corporation 2008the write and wall commandslsend messages to other users on a system write provides conversation-like commu
12、nication with another logged-in user. each user alternatively sends and receives messages. the wall command writes to all terminals. this is useful to notify all users of a system event:$ write team01 (or)$ write sarahmoon$ wall the system will be inactive from 10pm today.broadcast message from team
13、01sys1 (pts/1) at 15:11:58the system will be inactive from 10pm today.$ copyright ibm corporation 2008$ talk fred (user john requests the connection)(to accept the invitation fred enters:)talk with another user copyright ibm corporation 2008mesglthe mesg command controls whether other users on the s
14、ystem can send messages to you:team01$ mesgthe current status is y.team01$ mesg nteam01$team02$ write team01write: 0803-031 permission denied.team02$ copyright ibm corporation 2008corrects mistakesterminates the currentcommand and returns to theshellend of transmission or end of filetemporarily stop
15、s output tothe screenresumes output (stopped by ctrl-s)erases the entire linekeyboard tips copyright ibm corporation 2008checkpoint1. what is the correct command syntax in aix?$ mail newmail f$ mail f newmail$ -f mail$ mail -f newmail2. what command would you use to send mail items? 3. what are othe
16、r commands that can be used to communicate with other users? 4. what output would you expect from the following command: cal 8? 5. which command would you use to find out when a particular user logged in?$ who am i$ who$ finger everyone$ finger username copyright ibm corporation 2008checkpoint solut
17、ions1. what is the correct command syntax in aix?$ mail newmail f$ mail f newmail$ -f mail$ mail -f newmail2. what command would you use to send mail items? mail username3. what are other commands that can be used to communicate with other users? talk, write, and wall4. what output would you expect from the following command: cal 8? the calendar for the year 8 ad5. which command would you use to find out when a particular user logged in?$ who am i$ who$ finger everyone$ finger username copyright ibm corporation 2008exercise: using the system copyright ibm corporation 200
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 提取住房公积金购买合同
- 公司费用合同
- 威海查询房屋备案合同
- 已签预售合同
- 房租购买合同
- 海南落户无劳动合同
- 2025至2030非洲臀果木粉末提取物行业发展趋势分析与未来投资战略咨询研究报告
- 2025-2030民办急救培训行业市场发展现状及竞争战略分析报告
- 2025-2030民办幼儿英语行业市场发展现状及未来趋势预测报告
- 2025-2030民办学校课程创新与核心竞争力构建研究报告
- 2025年广西专业技术人员继续教育公需科目(一)答案
- 2025年广东省考公务员考试(公安专业科目)考试试题
- 天车工高级考试题库及答案
- 公司内部营运管理制度
- 化工单位销售管理制度
- T/CNCA 022-2022煤矿用可伸缩带式输送机无基础安装装置
- 流行精粹 课件-2024-2025学年高中音乐人音版(2019)必修音乐鉴赏
- 男护士职业发展现状与未来路径
- 入团考试2025年价值观分享试题及答案
- 国家电投笔试题及答案
- 光伏运维方案
评论
0/150
提交评论