hpuxexamSH.docVIP

  • 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

文档评论(0)

1亿VIP精品文档

相关文档