linux混合命令_Linux命令(混合)能力问题和解答

linux混合命令

This section contains Aptitude Questions and Answers on Linux Commands (Mixed).

本节包含有关Linux命令的 Aptitude问答(混合)

1) Which of the following command is used to display the list of available groups in the system?
  1. listgroup
  2. list
  3. getent
  4. groups
Answer & Explanation

Correct answer: 3
getent

The getent command is used to display the list of available groups in the system.

1)以下哪个命令用于显示系统中可用组的列表?
  1. 列表组
  2. 清单
  3. Getent
  4. 团体
答案与解释

正确答案:3
Getent

getent命令用于显示系统中可用组的列表。

2) Which exact command is used to remove a user from the group in the Linux system?
  1. delgroup –d <username> <groupname>
  2. remusr –d <username> <groupname>
  3. gpasswd -d <username> <groupname>
  4. rm –d <username> <groupname>
Answer & Explanation

Correct answer: 3
gpasswd -d <username> <groupname>

The 3rd command is used to remove a user from the group in the Linux system.

2)使用哪个确切命令从Linux系统中的组中删除用户?
  1. delgroup –d <用户名> <组名>
  2. remusr –d <用户名> <组名>
  3. gpasswd -d <用户名> <组名>
  4. rm –d <用户名> <组名>
答案与解释

正确答案:3
gpasswd -d <用户名> <组名>

第三个命令用于从Linux系统中的组中删除用户。

3) Which exact command is used to change the group of a user in the Linux system?
  1. usermod -g <new_groupname> <username>
  2. usermod -g <username> <new_groupname>
  3. usermod -c <new_groupname> <username>
  4. usermod -c <username> <new_groupname>
Answer & Explanation

Correct answer: 1
usermod -g <new_groupname> <username>

The 1st command is the correct command to change the group of a user in the Linux system.

3)在Linux系统中,使用哪个确切的命令来更改用户组?
  1. usermod -g <新组名> <用户名>
  2. usermod -g <用户名> <新组名>
  3. usermod -c <新组名> <用户名>
  4. usermod -c <用户名> <新组名>
答案与解释

正确答案:1
usermod -g <新组名> <用户名>

第一个命令是更改Linux系统中用户组的正确命令。

4) There are the following commands that are given, which of them are correct about the "nohup" command in the Linux system?
  1. The "nohup" stands for No Hang-up.
  2. The "nohup" stands for Notify Hang-up.
  3. The "nohup" command is used to keeps the processes running, even the terminal gets close by the user.
  4. This command is used to prevent the processes from the SIGHUP signals.

Options:

  1. A and C
  2. B and C
  3. B, C, and D
  4. A, C, and D
Answer & Explanation

Correct answer: 4
A, C, and D

Statements A, C, and D are correct about the nohup command in the Linux system.

4)提供了以下命令,其中哪些命令对于Linux系统中的“ nohup”命令是正确的?
  1. “ nohup”代表“无挂断”。
  2. “ nohup”代表“通知挂断”。
  3. “ nohup”命令用于使进程保持运行,即使终端被用户关闭也是如此。
  4. 该命令用于防止来自SIGHUP信号的进程。

选项:

  1. A和C
  2. B和C
  3. B,C和D
  4. A,C和D
答案与解释

正确答案:4
A,C和D

关于Linux系统中的nohup命令,语句A,C和D是正确的。

5) By default, which files store output of the command that executed with "nohup" utility?
  1. nh.out
  2. nohup.out
  3. nohup.txt
  4. nh.txt
Answer & Explanation

Correct answer: 2
nohup.out

The hohup.out command is used to store the output of the command that executed with nohup utility.

5)默认情况下,哪些文件存储使用“ nohup”实用程序执行的命令的输出?
  1. nh.out
  2. nohup.out
  3. nohup.txt
  4. nh.txt
答案与解释

正确答案:2
nohup.out

hohup.out命令用于存储使用nohup实用程序执行的命令的输出。

6) Which of the following symbol is used to run a background process?
  1. #
  2. &
  3. @
  4. $
Answer & Explanation

Correct answer: 2
$

The & symbol is used to run a background process.

6)以下哪个符号用于运行后台进程?
  1. @
  2. $
答案与解释

正确答案:2
$

&符号用于运行后台进程。

7) Which of the following command is used to configure a public key at the SSH server for a user?
  1. ssh-copy-id
  2. ssh-public-key
  3. ssh-public-id
  4. ssh-copy-key
Answer & Explanation

Correct answer: 1
ssh-copy-id

The ssh-copy-id command is used to configure a public key at the SSH server for a user.

7)以下哪个命令用于在SSH服务器上为用户配置公钥?
  1. ssh-copy-id
  2. ssh-公钥
  3. ssh-public-id
  4. ssh-copy-key
答案与解释

正确答案:1
ssh-copy-id

ssh-copy-id命令用于在SSH服务器上为用户配置公共密钥。

8) Which of the following command is used to add a key to the SSH agent?
  1. agent
  2. ssh-agent
  3. add-key
  4. ssh-add
Answer & Explanation

Correct answer: 4
ssh-add

The ssh-add is used to add a key to the SSH agent.

8)以下哪个命令用于向SSH代理添加密钥?
  1. 代理人
  2. SSH代理
  3. 附加键
  4. SSH添加
答案与解释

正确答案:4
SSH添加

ssh-add用于向SSH代理添加密钥。

9) Which of the following Linux command is used to transfer files to the remote computer?
  1. cp
  2. copy
  3. ssh-copy
  4. scp
Answer & Explanation

Correct answer: 4
scp

The scp command is used to transfer files to the remote computer.

9)以下哪个Linux命令用于将文件传输到远程计算机?
  1. cp
  2. 复制
  3. ssh复制
  4. scp
答案与解释

正确答案:4
scp

scp命令用于将文件传输到远程计算机。

10) Which of the following command is used to schedule tasks in the Linux system?
  1. schedule
  2. stask
  3. at
  4. ats
Answer & Explanation

Correct answer: 3
at

The at command is used to schedule the tasks in the Linux system.

10)以下哪个命令用于计划Linux系统中的任务?
  1. 时间表
  2. 任务
  3. ats
答案与解释

正确答案:3

at命令用于计划Linux系统中的任务。

11) Which of the following command is used to print pending tasks?
  1. ptasks
  2. atq
  3. qtasks
  4. atrm
Answer & Explanation

Correct answer: 2
atq

The atq command is used to print pending tasks.

11)以下哪个命令用于打印挂起的任务?
  1. 任务
  2. atq
  3. 任务
  4. 武器
答案与解释

正确答案:2
atq

atq命令用于打印挂起的任务。

12) Which of the following command is used to delete scheduled tasks?
  1. atrm
  2. atdl
  3. atdel
  4. rmtask
Answer & Explanation

Correct answer: 1
atrm

The atrm command is used to delete scheduled tasks.

12)以下哪个命令用于删除计划任务?
  1. 武器
  2. atdl
  3. Atdel
  4. 任务
答案与解释

正确答案:1
武器

atrm命令用于删除计划的任务。

13) Which of the following keyword is used to specify the time of "4pm" in "at" command for scheduling tasks?
  1. breaktime
  2. freetime
  3. midnight
  4. teatime
Answer & Explanation

Correct answer: 4
teatime

The teatime keyword is used to specify the time of "4pm" in "at" command for scheduling tasks.

13)以下哪个关键字用于指定“ at”命令中计划任务的“ 4pm”时间?
  1. 休息时间
  2. 空闲时间
  3. 午夜
  4. 下午茶时间
答案与解释

正确答案:4
下午茶时间

teatime关键字用于在计划任务的“ at”命令中指定“下午4点”的时间。

14) Which of the following command is used to perform mathematical expression and print output on the terminal?
  1. expr
  2. exp
  3. calexp
  4. calexpr
Answer & Explanation

Correct answer: 1
expr

The expr command is used to perform mathematical expression and print output on the terminal.

14)以下哪个命令用于执行数学表达式并在终端上打印输出?
  1. expr
  2. 经验值
  3. Calexp
  4. Calexpr
答案与解释

正确答案:1
expr

expr命令用于执行数学表达式并在终端上打印输出。

15) Which of the following types of arguments or operators are supported by "expr" command?
  1. Plus '+' operator
  2. Modulus operator
  3. Regular expressions
  4. Set of characters in the string

Options:

  1. A and C
  2. A and B
  3. A, B, and C
  4. A, B, C, and D
Answer & Explanation

Correct answer: 4
A, B, C, and D

All options are correct.

15)“ expr”命令支持以下哪种类型的参数或运算符?
  1. 加'+'运算符
  2. 模算子
  3. 常用表达
  4. 字符串中的字符集

选项:

  1. A和C
  2. A和B
  3. A,B和C
  4. A,B,C和D
答案与解释

正确答案:4
A,B,C和D

所有选项均正确。

16) Which exact command is used to multiply 4 by 2 using "expr" in the Linux System?
  1. expr 4 * 2
  2. expr 4 /* 2
  3. expr 4 \* 2
  4. expr 4 ^* 2
Answer & Explanation

Correct answer: 3
expr 4 \* 2

The 3rd command is correct.

16)在Linux系统中,使用“ expr”使用哪个确切命令将4乘以2?
  1. expr 4 * 2
  2. expr 4 / * 2
  3. expr 4 \ * 2
  4. expr 4 ^ * 2
答案与解释

正确答案:3
expr 4 \ * 2

第三个命令是正确的。

17) Which of the following terminal command is used to send an email?
  1. email
  2. mail
  3. electronicmail
  4. mailcmd
Answer & Explanation

Correct answer: 2
mail

The mail command is used to send an email, to use mail command we need to install the "mailutils” package in the system.

17)以下哪个终端命令用于发送电子邮件?
  1. 电子邮件
  2. 邮件
  3. 电子邮件
  4. mailcmd
答案与解释

正确答案:2
邮件

mail命令用于发送电子邮件,要使用mail命令,我们需要在系统中安装“ mailutils”软件包。

18) Which of the following command is used to extract text from binary or executable files in the Linux operating system?
  1. strings
  2. string
  3. str
  4. strbin
Answer & Explanation

Correct answer: 1
strings

The strings command is used to extract text from binary or executable files in the Linux operating system.

18)以下哪个命令用于从Linux操作系统的二进制文件或可执行文件中提取文本?
  1. 力量
  2. 斯特宾
答案与解释

正确答案:1

strings命令用于从Linux操作系统中的二进制文件或可执行文件中提取文本。

19) Which of the following command is used to get brief information about Linux commands and functions?
  1. info
  2. incmd
  3. whatis
  4. cmddocs
Answer & Explanation

Correct answer: 3
whatis

The whatis command is used to get brief information about Linux commands and functions.

19)以下哪个命令用于获取有关Linux命令和功能的简要信息?
  1. 信息
  2. 英寸
  3. 什么是
  4. cmddocs
答案与解释

正确答案:3
什么是

whatis命令用于获取有关Linux命令和功能的简要信息。

20) Which of the following types of encodings are used by the "strings" command?
  1. 16-bit little endian
  2. 16-bit big endian
  3. 7-bit byte ASCII
  4. None of the above

Options:

  1. A and B
  2. B and C
  3. A, B, and C
  4. D
Answer & Explanation

Correct answer: 3
A, B, and C

Options A, B, and C are correct encodings used by the strings command.

20)“字符串”命令使用以下哪种编码类型?
  1. 16位小端
  2. 16位大字节序
  3. 7位字节ASCII
  4. 以上都不是

选项:

  1. A和B
  2. B和C
  3. A,B和C
  4. d
答案与解释

正确答案:3
A,B和C

选项A,B和C是字符串命令使用的正确编码。

翻译自: https://www.includehelp.com/linux/commands-mixed-aptitude-questions-and-answers.aspx

linux混合命令

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值