- 9
- 0
- 约7.68千字
- 约 8页
- 2017-02-13 发布于江苏
- 举报
hpuxexamSH
惠普UNIX培训测试题
1. What would the following file permissions mean rwxr-xr--?
A. Read, write and execute permission for everyone.
B. Read, write and execute permission for the file owner, read and execute permission for the group, and only read permission for all others.
C. The file owner is the only one who can execute the file.
D. People who do not own the file and are not in its group, can only run it.
2. On a UNIX system the hardware is accessed by:
A. the shell.
B. the kernel.
C. applications.
D. clients and servers.
3. Which command lists the contents of your current directory and all directories below it?
A. ls -R or lsr
B. ls
C. dir
D. Tree
4. What permissions are required on a file to be able to run it as a program? .
A. read and execute
B. read
C. execute
D. read and execute and write
5. When logging in through CDE, one of the files used to control the environment is
A. $HOME/.dtprofile
B. $HOME/.cdeprofile
C. $HOME/profile
D. /etc/profile
6. If a user forgets their password, how can root find out what it was?
A. Look in /etc/passwd.
B. Nobody can find out what a password was once it has been encrypted.
C. Look in /.secure/passwd.
D. Use the passwd command.
7. HP-UX 11 is an implementation of which UNIX operating system ?
A. ATT; System V
B. IEEE/posix
C. BSD 4. 1
D. ISO
8. How do you see the local and environmental variables you have set up ?
A. env
B. echo
C. Is
D. set
9. What is the `PS1 environmental variable used for ?
A. the command priority stack
B. the history stack
C. the login sequence
D. the primary prompt
10. Under the Korn and Posix shells, how do you pull back your previous commands ?
A. Escape k
B. Escape p
C. h
D. Escape Escape
11. When is /etc/profile run ?
A. for all users logging on
B. when you start a new shell
C. when root logs on
D. for all users logging on under the Kom and Posix shells, not using CDE
12. How do you see the contents of a variable?
A. echo variable
B. echo $variab
您可能关注的文档
- GP150215 pCR to TR 45820 NBOFDMA uplink channels.doc
- google地图开发.doc
- GPRS几种状态的分析.doc
- GP88扩频写信令设信道功率.doc
- grammar testB.doc
- Granting Three Wishes through PerformanceCentered Design.doc
- GPS重点知识.doc
- Granger因果关系检验.doc
- GPMDTechnicalFileMatrix(填写范例).doc
- GRE 易混词 kindle版.doc
- (正式版)DB51∕T 1867-2014 《袋栽黑木耳生产技术规程》.docx
- (正式版)DB51∕T 2413-2023 《油橄榄密植丰产栽培技术规程》.docx
- (正式版)DB51∕T 2436-2017 《川菜东坡一品肉烹饪工艺技术规范》.docx
- (正式版)DB51∕T 2396-2017 《农村电子商务服务站(点)服务与管理规范》.docx
- (正式版)DB51∕T 2419-2017 《桢楠扦插育苗技术规程》.docx
- CN105145773B 一种无花果曲奇饼干及其制作方法 (江苏农林职业技术学院).docx
- CN105203825A 微测量电极的制作方法和热电势的测量方法及相关装置 (国家纳米科学中心).docx
- CN105137533B 一种啁啾光纤光栅及其制作方法 (南京航空航天大学).docx
- (正式版)DB51∕T 2453-2018 《巴山新居公共管理指南》.docx
- (正式版)DB51∕T 1892-2014 《川西北地区沙化土地治理技术规程》.docx
原创力文档

文档评论(0)