医学ppt--mod_sc

上传人:tian****1990 文档编号:81478205 上传时间:2019-02-21 格式:PPT 页数:20 大小:258.50KB
返回 下载 相关 举报
医学ppt--mod_sc_第1页
第1页 / 共20页
医学ppt--mod_sc_第2页
第2页 / 共20页
医学ppt--mod_sc_第3页
第3页 / 共20页
医学ppt--mod_sc_第4页
第4页 / 共20页
医学ppt--mod_sc_第5页
第5页 / 共20页
点击查看更多>>
资源描述

《医学ppt--mod_sc》由会员分享,可在线阅读,更多相关《医学ppt--mod_sc(20页珍藏版)》请在金锄头文库上搜索。

1、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:,Retu

2、rn,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

3、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 -

4、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 I

5、dentify 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. mes

6、g 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

7、,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

8、 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 lea

9、st 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,# # # # # # # # # # # # # # # # # # # # # # # # # # # # #

10、 # # # # # # # # # #,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

11、 (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,a56625,27,news 命令,Syntax: news -a -n headline Displays the system news Example: $ news Displays new news $ news -a Displays all news $ news -n Displays new headlines,a56627,

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 高等教育 > 大学课件

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号