已阅读5页,还剩15页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
8,Logging In 和通常的步骤,Version G.01 51434S Module 2 Slides,9,一个标准的终端对话,Log in验证自己和获得许可. 执行命令来完成工作. Log off 来终断你的连接.,a5669,10,login:,user1,Log in,Password:,Welcome to HP-UX,Login 信息,Erase is Backspace,Kill is Ctrl-U,$ date,执行任务,Fri Jul 1 11:03:42 EDT 1994,$ other commands,$ exit or +,Log out,login:,Return,Ctrl,d,Return,Logging In 和 Out,a68920,11,Shell 命令的表示,可执行,程序,语言,命令,substitution,管道,I/O,重定向,文件名,生成,可执行,命令,环境设置,变量,分配,Variable,substitution,Shell,a56611,12,命令行格式,a56612,13,二次提示,a56613,14,手册,a56614,HP-UX 参考手册包括:,章节 Section 1: Section 1m: Section 2: Section 3: Section 4: Section 5: Section 7: Section 9:,代号和描述 用户命令 系统维护命令 (更正规的格式是 Section 8) 系统调用 函数和函数库 文件格式 Miscellaneous Topics 特殊设备文件 目录,15,手册内容,a56615,名子 语法 描述 EXTERNAL INFLUENCES 网络特性 返回值 诊断 错误,例子 警告 附注 作者 文件 其它 BUGS STANDARDS CONFORMANCE,16,Online 手册,语法: man -k| X keyword | command X 是手册章节的号码 例子: $ man date Display the “date“ man page. $ man -k copy Display entries with keyword “copy“. $ man passwd Display the “passwd“ man page-Section 1. $ man 4 passwd Display the “passwd“ man page-Section 4. Use to view next page. Use to view next line. Use to quit the man command.,a6891,17,一些 开始的 命令,id Display you user and group identifications. who Identify other users logged on to the system. date Display the system time and date. passwd Assign a password to your user account. echo Display simple messages to your screen. banner Display arguments in large letters. clear Clears terminal screen. write Sends messages to another users terminal. mesg Allows/denies messages to your terminal. news Display the system news.,a65030,18,id 命令,语法: id Displays user and group identification for session 例子: $id uid =303 (user3) gid=300 (class) 注: The gid is the primary group. If the user belongs to additional groups, these are listed at the end as groups,a6892,19,who 命令,Syntax: who am i Reports information about users who are whoami currently logged on to a system Examples: $ who root tty1p5 Jul 01 08:01 user1 tty1p4 Jul 01 09:59 user2 tty0p3 Jul 01 10:01 $ who am i user2 tty0p3 Jul 01 10:01 $ whoami user2,a56619,20,date 命令,Syntax: date Reports the date and time Example: $ date Fri Jul 1 11:15:55 EDT 1998,a6681,21,passwd 命令,Syntax: passwd Assigns a login password Example: $ passwd Changing password for user3 Old password: New password: Re-enter new password: Password Restrictions: minimum of six characters at least two alpha characters at least one non-alpha character,a56621,22,echo 命令,Syntax: echo arg . 写 参数值到 终端 Examples: $ echo how are you how are you $ echo 123 abc 123 abc,a56622,23,banner 命令,Syntax: banner arg arg . Displays arguments in large letters Example: $ banner hello,# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #,a6893,24,clear 命令,Syntax: clear Clears terminal screen,a6144,25,write 命令,Example:,write,username,tty,Sends message to username if logged in,user3,user4,$ write user4,Are you going to the meeting?,Syntax:,Message from user3 (tty05),Are you going to the meeting?,Message from user4 (tty52),I will be there.,I will be there.,$ write user3,Ctrl,+,d,I wont be there. Take good notes!,Message from user3 (tty05),Ctrl,+,d,I wont be there. Take good notes!,a56624,26,mesg 命令,Syntax: mesg y|n Allows or denies “writes“ to your terminal Example: $ mesg is y $ mesg n $ mesg is n $ mesg y $ mesg is y
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025电厂个人年终工作总结(4篇)
- 2025年信用社后勤部门年终总结
- 2025国家法官学院招聘拟聘用人员笔试历年参考题库及答案
- 2025租赁合同书样本范文
- 2025店面租赁合同协议书范本
- 2025年下半年喀什地区行署机关事业单位公开遴选易考易错模拟试题(共500题)试卷后附参考答案
- 2025年下半年唐山市迁安市招考投融资高端人才易考易错模拟试题(共500题)试卷后附参考答案
- 2025年云南省化肥买卖合同书
- 2025年下半年周口港口物流产业集聚区城市管理员招考易考易错模拟试题(共500题)试卷后附参考答案
- 2025年下半年吉林长春公主岭市事业单位招聘工作人员5人(6号)易考易错模拟试题(共500题)试卷后附参考答案
- 村干部考入事业编面试真题(含答案)
- 西南交通大学2025年秋季管理岗位与其他专技岗位公开招聘考试参考试题及答案解析
- 2025年陕西省招聘村居后备干部考试应知应会题库及答案
- 公司无人机驾驶员适应性考核试卷及答案
- 市政道路排水系统维护保养技术方案
- 两委换届知识培训材料课件
- 2025广州铁路局集团有限公司招聘笔试考点考试题库和答案
- 2026届广东省珠海市文园中学七年级数学第一学期期末经典试题含解析
- 2025年中国拍立得行业市场全景分析及前景机遇研判报告
- 【生物】2025-2026学年人教版八年级生物上册期中考试复习测评试卷
- JJF(苏) 149-2024 黑体辐射源校准规范
评论
0/150
提交评论