来中标普华Linux专区测试一下你的Linux水平(之四)!

发布时间:2010-01-11 15:47:34来源:红联作者:linuxcui

[i=s] 本帖最后由 linuxcui 于 2010-1-12 09:01 编辑 [/i]

题目出自LPI102考题,第一个全答对的朋友奖励棒球帽一个,大家可以直接跟贴。如果对获得的奖励采取保留,那将累计奖品,计算入年度大奖,具体大奖是什么,反正不会失望。嘿嘿。

本期有效期到周三下午四点截止。

1、Which command will output the exit status of the previous command (a 1 or a 0)?

A. echo $?

B. echo $1

C. echo $EXIT

D. exitstatus

2、The content of the ~/myscript.sh file is as follows:

shift echo $2

What will be the output of the command: ~/myscript.sh alpha beta gamma delta?

3、Writing a shell script you want to check if the file foobar exists and is owned by the user who runs the script. Which of the following test commands will check this?

A. test -e foobar

B. test -r foobar

C. test -b foobar

D. test -o foobar

E. test -O foobar

4、You are writing a script and want to test the exit status of a process. Which of the following is true?

A. The normal exit value differs

B. You can’t test the normal exit value

C. The normal exit value is $EXIT

D. The normal exit value is 0

5、In the following command and its output, echo $$

12942

What is 12942?

A. the process ID of the echo command

B. the process ID of the current shell

C. the process ID of the last command excuted

D. The process ID of the last backgrounded command

6、Which of the following is the best way to list all defined shell variables?

A. env

B. set

C. env -a

D. echo $ENV

7、You create a script named "/tmp/src" that runs under the bash shell. When you try to invoke it by typing "/tmp/scr", you get an error message saying "bash: /tmp/src: Permission denied". What could be wrong? Select the best response.

A. The script file was probably deleted by another user

B. The path for the bash shell is wrong in the first line

C. The permissions on the script file deny execute access

D. The script should be moved to the user’s home directory

E. Users are not allowed to execute scripts from the /tmp directory

8、What is described by the PS1 and PS2 environment variable?

A. Postscript Level 1 and Level 2 capabilities

B. Shortcuts for the commands "ps" and "ps uax"

C. The different levels for the Power Save Mode

D. The normal prompt and the following prompt of the shell

E. PS2 is a link to the mouse-port of a ps/2 mouse, PS1 doesn't exist

9、Which of the statements is the result of the following command? export PS2=”[\u\w]\\$ ”

A. The primary bash prompt uses underlining and white background (black foreground)

B. The primary bash prompt includes the username and working path

C. The secondary bash prompt terminal prompt uses underlining and white background (black foreground)

D. The secondary bash prompt includes the username and working path

E. The bash prompt maps mouse button one as Ctrl-U (undo) and mouse two as Ctrl-W (write line to file)

10、What is the correct first line of any bash shell script? A. #!/bin/bash

B. #!

C. /bin/bash

D. /#!/bin/bash

E. #

普华linux技术特点,来中标普华Linux专区测试一下你的Linux水平(之四)!相关推荐

  1. 中标普华linux桌面初始密码,中标普华桌面4.0快速指南

    feiyang24 于 2015-06-12 16:18:32发表: 下载看看 feiyang24 于 2015-06-12 16:18:14发表: 学习了 lightmeng 于 2012-07-2 ...

  2. 中标普华linux桌面初始密码,中标普华桌面Linux3.0.1

    从用户还没有登录开始,中标普华就已经表现出强大的可定制能力,用户在获得实实在在的功能提升的同时,也可以改善使用感受. 用户登录界面的风格可以改变,欢迎文字也可以自定义.甚至可以分别为本地登录的用户和远 ...

  3. linux 原城关机,中标普华Linux操作系统解决方案

    中标普华Linux操作系统解决方案 更新时间: 2006-01-10 10:23:18来源: 粤嵌教育浏览量:699 陕西建行用中标普华Linux操作系统替代在前台业务和前置服务器上的Unix操作系统 ...

  4. linux 原城关机,中标普华Linux操作系统成功解决方案

    陕西建行用中标普华Linux操作系统替代在前台业务和前置服务器上的Unix操作系统,为在我国金融领域广泛使用Linux操作系统及其他国产Linux操作系统解决方案进行了成功示范. 中国建设银行陕西省分 ...

  5. 中标普华系统如何开启自带的mysql_中标普华LINUX系统安装 AND MySQl 5.0.1 正式版

    安装中标普华Linux操作系统 首先安装中标普华Linux操作系统,在第一个安装光盘内,选择光盘安装,然后选择自定义安装(不要选择典型安装,因为典型安装没有安装开发环境,例如:GCC),在安装途中会弹 ...

  6. fedora14安装中标普华office成功

    中标普华的office办公套件中文支持较好,而且与微软的文档格式兼容相对精确,安装成功以后会自动安装常用的中文字体,如宋体,仿宋体,楷体等中文化支持很好:所以我选择安装这个版本的office套件.   ...

  7. 中标普华 Linux 桌面及 Office 办公套件 2.0 版发布

    上海中标软件有限公司("中标软件")自 2003 年 10 月成立以来一直备受业界关注,不仅是其拥有 5000 万的注册资金和中软.中电科技集团及华东计算技术研究所三方的合资背景, ...

  8. 陕西建行成功示范中标普华Linux应用(转)

    陕西建行成功示范中标普华Linux应用(转)[@more@]来源:人民网 陕西建行用中标普华Linux操作系统替代在前台业务和前置服务器上的Unix操作系统,为在我国金融领域广泛使用Linux操作系统 ...

  9. Linux桌面版横评:八、中标普华桌面Linux 3.0.1

    中标普华桌面Linux 3.0.1   从用户还没有登录开始,中标就开始以其强大的可定制能力来获得实实在在的功能提升,并同时以此改善用户的使用感受.用户登录界面的风格是可以改变的,登录欢迎文字是可以自 ...

最新文章

  1. SQL SERVER 2008如何卸载干净
  2. Charles抓包https(测试app的双向认证)
  3. 基于 Swoole 的 swoolefy 4.2.0 正式发布
  4. Oracle包和包体以及与非包体定义函数、过程的区别
  5. android中AVD的使用
  6. 关于NHibernate
  7. shell脚本--使用for循环逐行访问txt文件
  8. js之事件冒泡和事件捕获详细介绍
  9. Android第九天
  10. ARM给服务器厂商更多创新机会
  11. 1000瓶毒药里有1瓶有毒,问需要多少只老鼠能试出来哪瓶有毒
  12. 安装vue-cli脚手架使用swiper
  13. CCTM_FormElement 类
  14. python语法简单吗_python基本语法练习实例 python好学吗? 语法简单吗? 举个例子?...
  15. 电子邮箱的格式怎么填?外贸电子邮件填写的正确格式
  16. 【阿里云】短信服务 无认证 测试版本 附带短信发送工具类
  17. OUC_软件工程_BLOG1
  18. Amazon Redshift ML现已正式推出——使用SQL创建机器学习模型并通过您的数据进行预测
  19. spark hive执行树
  20. cmake make C语言

热门文章

  1. java properties转map
  2. 专黑经典名著的冷笑话
  3. 2017安徽省二c语言模拟题,2017计算机二级考试C语言模拟题及答案
  4. SOCKS5代理简述
  5. 语法速通 uni-app随笔【uni-app】【微信小程序】【vue】
  6. 我爱Markdown (1)
  7. AJAX框架衣柜把手推荐,装修师傅可能疯了,因为他把我们衣柜的把手都给极简了。...
  8. MCS-51单片机指令系统“读-改-写”指令
  9. 西部广播电视杂志西部广播电视杂志社《西部广播电视》杂志社2023年第1期目录
  10. [转]免费建QQ群的方法