linux管理员权限命令_Linux管理员命令能力问题和解答

linux管理员权限命令

This section contains Aptitude Questions and Answers on Linux Admin Commands.

本节包含有关Linux Admin命令的 Aptitude问答。

1) Which Linux command is used to know, how long a computer has been running?
  1. startup

  2. uptime

  3. startuptime

  4. time

Answer & Explanation

Correct answer: 2
uptime

The uptime command is used to know, how long a computer has been running.

1)使用哪个Linux命令知道计算机已经运行了多长时间?
  1. 启动

  2. 正常运行时间

  3. 启动时间

  4. 时间

答案与解释

正确答案:2
正常运行时间

uptime命令用于了解计算机已运行了多长时间。

2) There are the following statements that are given below, which of them are the correct about the "service" command in the Linux system?
  1. The service command is used to start a service by calling the associated script.

  2. The service command is used to stop service by calling the associated script.

  3. The service command is used to pause a service by calling the associated script.

  4. The service command is used to restart a service by calling the associated script.

Options:

  1. A and B

  2. A, B, and D

  3. B, C, and D

  4. A, B, C, and D

Answer & Explanation

Correct answer: 2
A, B, and D

Statements A, B, and D are correct about the "service" command.

2)下面给出了以下语句,其中哪些对于Linux系统中的“ service”命令是正确的?
  1. service命令用于通过调用关联的脚本来启动服务。

  2. service命令用于通过调用关联的脚本来停止服务。

  3. service命令用于通过调用关联的脚本来暂停服务。

  4. service命令用于通过调用关联的脚本来重新启动服务。

选项:

  1. A和B

  2. A,B和D

  3. B,C和D

  4. A,B,C和D

答案与解释

正确答案:2
A,B和D

语句A,B和D关于“ service”命令是正确的。

3) Which of the following directory contains the scripts related to service used in the Linux operating system?
  1. /etc/services/

  2. /etc/scripts/

  3. /etc/init.d/

  4. /etc/services/scripts/

Answer & Explanation

Correct answer: 3
/etc/init.d/

The "/etc/init.d/" directory contains the scripts related to service used in the Linux operating system.

3)以下哪个目录包含与Linux操作系统中使用的服务相关的脚本?
  1. / etc / services /

  2. / etc / scripts /

  3. /etc/init.d/

  4. / etc / services / scripts /

答案与解释

正确答案:3
/etc/init.d/

“ /etc/init.d/”目录包含与Linux操作系统中使用的服务相关的脚本。

4) There are the following statements that are given below, which of them are the correct about the "uptime" command in the Linux system?
  1. We can get the current system time using uptime command.

  2. We can get the number of users logged in, using uptime command.

  3. This command also displays CPU load average.

  4. This command also displays the duration for which the computer has been running.

Options:

  1. A and B

  2. B and D

  3. A, B, and D

  4. A, B, C, and D

Answer & Explanation

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

All statements are correct about the "uptime" command.

4)下面给出了以下语句,其中哪些对于Linux系统中的“运行时间”命令是正确的?
  1. 我们可以使用uptime命令获取当前系统时间。

  2. 我们可以使用uptime命令获取登录的用户数。

  3. 此命令还显示平均CPU负载。

  4. 此命令还显示计算机运行的持续时间。

选项:

  1. A和B

  2. B和D

  3. A,B和D

  4. A,B,C和D

答案与解释

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

所有有关“正常运行时间”命令的陈述都是正确的。

5) Which option is used to know only system running time using the "uptime" command?
  1. -p

  2. -u

  3. -l

  4. -k

Answer & Explanation

Correct answer: 1
-p

The option -p is used to know only system running time.

5)使用哪个选项可以通过“ uptime”命令仅了解系统运行时间?
  1. -p

  2. -u

  3. -l

  4. -k

答案与解释

正确答案:1
-p

选项-p用于仅了解系统运行时间。

6) There are the following statements are given below, which of them are the correct about the "ps" command in the Linux system?
  1. This command is used to display information about processes running in the system.

  2. This command displays the memory occupied by a system call.

  3. This command displays the process id of the running processes.

  4. This command displays the name of the running processes.

Options:

  1. A and B

  2. A, B, and C

  3. A, C, and D

  4. A, B, C, and D

Answer & Explanation

Correct answer: 3
A, C, and D

Statements A, C, and D are correct about the "ps" command.

6)下面给出了以下语句,其中哪些对于Linux系统中的“ ps”命令是正确的?
  1. 此命令用于显示有关系统中正在运行的进程的信息。

  2. 此命令显示系统调用占用的内存。

  3. 此命令显示正在运行的进程的进程ID。

  4. 此命令显示正在运行的进程的名称。

选项:

  1. A和B

  2. A,B和C

  3. A,C和D

  4. A,B,C和D

答案与解释

正确答案:3
A,C和D

关于“ ps”命令的语句A,C和D是正确的。

7) Which exact command is used to display the signal names used in the Linux operating system?
  1. signal -all

  2. kill -p

  3. kill -l

  4. kill -s

Answer & Explanation

Correct answer: 3
kill -l

The "kill -l" command is used to display the name of signals used in the Linux operating system.

7)使用哪个确切命令显示Linux操作系统中使用的信号名称?
  1. 全部信号

  2. 杀死-p

  3. 杀死-l

  4. 杀死-s

答案与解释

正确答案:3
杀死-l

“ kill -l”命令用于显示Linux操作系统中使用的信号的名称。

8) There are the following options that are given below, which of them are correct signals used in the Linux?
  1. SIGINT

  2. SIGHUP

  3. SIGQUIT

  4. SIGKILL

Options:

  1. A and B

  2. A, B, and C

  3. A, C, and D

  4. A, B, C, and D

Answer & Explanation

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

All given options are correct signals used in Linux.

8)下面给出了以下选项,其中哪些是Linux中使用的正确信号?
  1. SIGINT

  2. 西格普

  3. SIGQUIT

  4. 杀人狂

选项:

  1. A和B

  2. A,B和C

  3. A,C和D

  4. A,B,C和D

答案与解释

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

所有给定的选项都是Linux中使用的正确信号。

9) Which exact command is used to kill a running process using process id?
  1. killall <process id>

  2. kill -9 <process id>

  3. kill -p <process id>

  4. kill -s <process id>

Answer & Explanation

Correct answer: 2
kill -9 <process id>

9)使用哪个确切的命令使用进程ID终止正在运行的进程?
  1. killall <进程ID>

  2. 杀死-9 <进程ID>

  3. kill -p <进程ID>

  4. kill -s <进程ID>

答案与解释

正确答案:2
杀死-9 <进程ID>

10) Which exact command is used to kill a process by name?
  1. killall <process name>

  2. kill -n <process name>

  3. kill -p <process name>

  4. kill -s <process name>

Answer & Explanation

Correct answer: 1
killall <process name>

10)使用哪个确切的命令按名称杀死进程?
  1. killall <进程名称>

  2. kill -n <进程名称>

  3. kill -p <进程名称>

  4. kill -s <进程名称>

答案与解释

正确答案:1
killall <进程名称>

11) Which of the following command is used to know about the swap memory of the system?
  1. swapmem

  2. free

  3. sw

  4. sp

Answer & Explanation

Correct answer: 2
free

11)以下哪个命令用于了解系统的交换内存?
  1. 交换内存

  2. 自由

  3. SW

  4. SP

答案与解释

正确答案:2
自由

12) Which of the following commands are used to kill a running process in the Linux system?
  1. kill

  2. killall

  3. pkill

  4. xkill

Options:

  1. A and B

  2. A, B, and C

  3. A, C, and D

  4. A, B, C, and D

Answer & Explanation

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

All given commands are used to kill a running process in the Linux system.

12)以下哪个命令用于杀死Linux系统中正在运行的进程?
  1. 全杀

  2. 杀人

  3. 杀人

选项:

  1. A和B

  2. A,B和C

  3. A,C和D

  4. A,B,C和D

答案与解释

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

所有给定的命令均用于终止Linux系统中正在运行的进程。

13) Which of the following signal is used to PAUSE and STOP the processes?
  1. SIGSTOP

  2. SIGSTP

  3. SIGPAUSE

  4. SIGPS

Answer & Explanation

Correct answer: 2
SIGSTP

The SIGSTP signal is used to PAUSE and STOP the process.

13)以下哪个信号用于暂停和停止过程?
  1. SIGSTOP

  2. 贸易总协定

  3. SIGPAUSE

  4. 全球定位系统

答案与解释

正确答案:2
贸易总协定

SIGSTP信号用于暂停和停止过程。

14) Which of the following command is used to display the memory map of processes in the Linux system?
  1. pmap

  2. memmap

  3. map

  4. procmap

Answer & Explanation

Correct answer: 1
pmap

The "pmap" command is used to display the memory map of processes in the Linux system.

14)以下哪个命令用于显示Linux系统中进程的内存映射?
  1. pmap

  2. 内存映射

  3. 地图

  4. 进程图

答案与解释

正确答案:1
pmap

“ pmap”命令用于显示Linux系统中进程的内存映射。

15) There are the following statements that are given below, which of them are the correct about the "last" command in the Linux system?
  1. This command displays the information about the last logged in timing for the user.

  2. The last command is used to display the last executed process in the system.

  3. This command displays IP address, username, and duration of logging in.

  4. The log information is stored in the "/var/log/wtmp" file.

Options:

  1. A and B

  2. A, B, and C

  3. A, C, and D

  4. A, B, C, and D

Answer & Explanation

Correct answer: 3
A, C, and D

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

15)下面给出了以下语句,其中哪些对于Linux系统中的“ last”命令是正确的?
  1. 此命令显示有关用户上次登录时间的信息。

  2. last命令用于显示系统中最后执行的进程。

  3. 此命令显示IP地址,用户名和登录持续时间。

  4. 日志信息存储在“ / var / log / wtmp”文件中。

选项:

  1. A和B

  2. A,B和C

  3. A,C和D

  4. A,B,C和D

答案与解释

正确答案:3
A,C和D

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

16) How can we shut down the system by notifying all users?
  1. Using init 0 command

  2. Using init 6 command

  3. Using shutdown command

  4. Using turnoff command

Answer & Explanation

Correct answer: 3
Using shutdown command

The shutdown command is used to shut down the system by notifying all users.

16)我们如何通过通知所有用户来关闭系统?
  1. 使用init 0命令

  2. 使用init 6命令

  3. 使用关机命令

  4. 使用关闭命令

答案与解释

正确答案:3
使用关机命令

shutdown命令用于通过通知所有用户来关闭系统。

17) How can we shut down the system immediately using the "shutdown" command?
  1. shutdown immediate

  2. shutdown now

  3. shutdown n

  4. shutdown final

Answer & Explanation

Correct answer: 2
shutdown now

The "shutdown now" command is used to shut down the system immediately using the "shutdown" command.

17)如何使用“关闭”命令立即关闭系统?
  1. 立即关闭

  2. 现在关闭

  3. 关机n

  4. 关闭最终

答案与解释

正确答案:2
现在关闭

“立即关闭”命令用于通过“关闭”命令立即关闭系统。

18) Which of the following commands are used to display the information about the Linux commands?
  1. man

  2. info

  3. infocmd

  4. All the above

Options:

  1. A and B

  2. A, B, and C

  3. A, C, and D

  4. A, B, C, and D

Answer & Explanation

Correct answer: 1
A and B

The "man" and "info" commands are used to display the information about the Linux commands.

18)以下哪个命令用于显示有关Linux命令的信息?
  1. 男子

  2. 信息

  3. infocmd

  4. 以上全部

选项:

  1. A和B

  2. A,B和C

  3. A,C和D

  4. A,B,C和D

答案与解释

正确答案:1
A和B

“ man”和“ info”命令用于显示有关Linux命令的信息。

19) Which Linux command is used to check disk usage of files and directories?
  1. diskinf

  2. diskuse

  3. du

  4. fileinf

Answer & Explanation

Correct answer: 3
du

The "du" command is used to check the disk usage of files and directories.

19)哪个Linux命令用于检查文件和目录的磁盘使用情况?
  1. 磁盘信息

  2. 磁盘使用

  3. 文件信息

答案与解释

正确答案:3

“ du”命令用于检查文件和目录的磁盘使用情况。

20) Which of the following is the first process executed by the kernel during the booting time of the system?
  1. crond

  2. init

  3. bootp

  4. none of the above

Answer & Explanation

Correct answer: 2
init

The "init" command is the first process executed by the kernel during booting time.

20)内核在系统启动期间执行的以下第一个过程是?
  1. 克朗

  2. 在里面

  3. 布特

  4. 以上都不是

答案与解释

正确答案:2
在里面

“ init”命令是内核在引导期间执行的第一个进程。

21) Which Linux command is used to access external storage devices like pen-drive into the Linux file system?
  1. attach

  2. access

  3. mount

  4. umount

Answer & Explanation

Correct answer: 3
mount

The "mount" command is used to access the external devices into some directory that exists in the Linux file system.

21)哪个Linux命令用于将外部存储设备(如笔式驱动器)访问Linux文件系统?
  1. 连接

  2. 访问

  3. 安装

  4. 数量

答案与解释

正确答案:3
安装

“ mount”命令用于将外部设备访问Linux文件系统中存在的某个目录。

22) Which Linux command is used to un-mount the external storage devices from the Linux file system?
  1. unmount

  2. umount

  3. nmount

  4. None of the above

Answer & Explanation

Correct answer: 2
umount

The "umount" command is used to un-mount the external storage devices from the Linux file system.

22)使用哪个Linux命令从Linux文件系统中卸载外部存储设备?
  1. 卸下

  2. 数量

  3. 数量

  4. 以上都不是

答案与解释

正确答案:2
数量

“ umount”命令用于从Linux文件系统中卸载外部存储设备。

23) Which run-level is used with the "init" command to reboot the system?
  1. 0

  2. 1

  3. 4

  4. 6

Answer & Explanation

Correct answer: 4
6

The run level 6 is used with the "init" command to reboot the system.

23)“ init”命令使用哪个运行级别来重新引导系统?
  1. 0

  2. 1个

  3. 4

  4. 6

答案与解释

正确答案:4
6

运行级别6与“ init”命令一起使用以重新引导系统。

24) Which run-level is used with the "init" command to halt the system?
  1. 0

  2. 1

  3. 4

  4. 6

Answer & Explanation

Correct answer: 1
0

The run level 0 is used with the "init" command to halt the system.

24)“ init”命令使用哪个运行级别来停止系统?
  1. 0

  2. 1个

  3. 4

  4. 6

答案与解释

正确答案:1
0

运行级别0与“ init”命令一起使用可停止系统。

25) Which Linux command is used to display information regarding file systems about the total space and free space?
  1. file

  2. info

  3. df

  4. ds

Answer & Explanation

Correct answer: 3
df

The "df" command is used to display information regarding file systems about the total space and free space.

25)哪个Linux命令用于显示有关文件系统的有关总空间和可用空间的信息?
  1. 文件

  2. 信息

  3. df

  4. ds

答案与解释

正确答案:3
df

“ df”命令用于显示有关文件系统的有关总空间和可用空间的信息。

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

linux管理员权限命令

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值