




已阅读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年1月浙江强基联盟高三语数联考数学试题及答案
- 越西县2025四川凉山州越西县考试招聘事业单位工作人员31人笔试历年参考题库附带答案详解
- 贵州省2025贵州省黔西南州高校专项引进人才335人笔试历年参考题库附带答案详解
- 患者跌倒坠床的应急处理预案试卷含答案
- 2025年中国病案编码员考试题库及答案
- 房屋租赁合同违约责任协议样本
- 自贡市2025四川“自贡知名高校春招行人才主题日”活动面向全国知名高校引进高层次笔试历年参考题库附带答案详解
- 烟台市2025山东烟台市福山区事业单位招聘高层次人才18人笔试历年参考题库附带答案详解
- 温州市2025浙江温州泰顺县事业单位招聘59人笔试历年参考题库附带答案详解
- 淮阴区2025江苏淮安市淮阴师范学院招聘专职辅导员10人笔试历年参考题库附带答案详解
- GB/T 31155-2014太阳能资源等级总辐射
- 工程施工停工令模板
- 2023年蒸汽管路设计
- 耳部解剖及急慢性中耳炎课件
- 工程项目投资与融资讲义 课件
- 食品质量安全抽检数据分析模型优质资料
- 承插型盘扣式钢管进场验收记录表
- 军事训练教学法模板课件
- 物流设施与设备ppt课件(完整版)
- 交通运输安全管理整套教学课件
- 安检员X射线机培训-共86页课件
评论
0/150
提交评论