linux管理员权限命令
This section contains Aptitude Questions and Answers on Linux Admin Commands.
本节包含有关Linux Admin命令的 Aptitude问答。
Correct answer: 2
uptime
The uptime command is used to know, how long a computer has been running.
The service command is used to start a service by calling the associated script.
The service command is used to stop service by calling the associated script.
The service command is used to pause a service by calling the associated script.
The service command is used to restart a service by calling the associated script.
Options:
Correct answer: 2
A, B, and D
Statements A, B, and D are correct about the "service" command.
service命令用于通过调用关联的脚本来启动服务。
service命令用于通过调用关联的脚本来停止服务。
service命令用于通过调用关联的脚本来暂停服务。
service命令用于通过调用关联的脚本来重新启动服务。
选项:
正确答案:2
A,B和D
语句A,B和D关于“ service”命令是正确的。
Correct answer: 3
/etc/init.d/
The "/etc/init.d/" directory contains the scripts related to service used in the Linux operating system.
正确答案:3
/etc/init.d/
“ /etc/init.d/”目录包含与Linux操作系统中使用的服务相关的脚本。
We can get the current system time using uptime command.
We can get the number of users logged in, using uptime command.
This command also displays CPU load average.
This command also displays the duration for which the computer has been running.
Options:
Correct answer: 4
A, B, C, and D
All statements are correct about the "uptime" command.
我们可以使用uptime命令获取当前系统时间。
我们可以使用uptime命令获取登录的用户数。
此命令还显示平均CPU负载。
此命令还显示计算机运行的持续时间。
选项:
正确答案:4
A,B,C和D
所有有关“正常运行时间”命令的陈述都是正确的。
Correct answer: 1
-p
The option -p is used to know only system running time.
This command is used to display information about processes running in the system.
This command displays the memory occupied by a system call.
This command displays the process id of the running processes.
This command displays the name of the running processes.
Options:
Correct answer: 3
A, C, and D
Statements A, C, and D are correct about the "ps" command.
此命令用于显示有关系统中正在运行的进程的信息。
此命令显示系统调用占用的内存。
此命令显示正在运行的进程的进程ID。
此命令显示正在运行的进程的名称。
选项:
正确答案:3
A,C和D
关于“ ps”命令的语句A,C和D是正确的。
Correct answer: 3
kill -l
The "kill -l" command is used to display the name of signals used in the Linux operating system.
正确答案:3
杀死-l
“ kill -l”命令用于显示Linux操作系统中使用的信号的名称。
SIGINT
SIGHUP
SIGQUIT
SIGKILL
Options:
Correct answer: 4
A, B, C, and D
All given options are correct signals used in Linux.
SIGINT
西格普
SIGQUIT
杀人狂
选项:
正确答案:4
A,B,C和D
所有给定的选项都是Linux中使用的正确信号。
Correct answer: 2
kill -9 <process id>
正确答案:2
杀死-9 <进程ID>
Correct answer: 1
killall <process name>
正确答案:1
killall <进程名称>
Correct answer: 2
free
kill
killall
pkill
xkill
Options:
Correct answer: 4
A, B, C, and D
All given commands are used to kill a running process in the Linux system.
杀
全杀
杀人
杀人
选项:
正确答案:4
A,B,C和D
所有给定的命令均用于终止Linux系统中正在运行的进程。
Correct answer: 2
SIGSTP
The SIGSTP signal is used to PAUSE and STOP the process.
Correct answer: 1
pmap
The "pmap" command is used to display the memory map of processes in the Linux system.
This command displays the information about the last logged in timing for the user.
The last command is used to display the last executed process in the system.
This command displays IP address, username, and duration of logging in.
The log information is stored in the "/var/log/wtmp" file.
Options:
Correct answer: 3
A, C, and D
Statements A, C, and D are correct about "last" command in the Linux system.
此命令显示有关用户上次登录时间的信息。
last命令用于显示系统中最后执行的进程。
此命令显示IP地址,用户名和登录持续时间。
日志信息存储在“ / var / log / wtmp”文件中。
选项:
正确答案:3
A,C和D
语句A,C和D关于Linux系统中的“ last”命令是正确的。
Correct answer: 3
Using shutdown command
The shutdown command is used to shut down the system by notifying all users.
正确答案:3
使用关机命令
shutdown命令用于通过通知所有用户来关闭系统。
Correct answer: 2
shutdown now
The "shutdown now" command is used to shut down the system immediately using the "shutdown" command.
man
info
infocmd
All the above
Options:
Correct answer: 1
A and B
The "man" and "info" commands are used to display the information about the Linux commands.
男子
信息
infocmd
以上全部
选项:
正确答案:1
A和B
“ man”和“ info”命令用于显示有关Linux命令的信息。
Correct answer: 3
du
The "du" command is used to check the disk usage of files and directories.
Correct answer: 2
init
The "init" command is the first process executed by the kernel during booting time.
Correct answer: 3
mount
The "mount" command is used to access the external devices into some directory that exists in the Linux file system.
正确答案:3
安装
“ mount”命令用于将外部设备访问Linux文件系统中存在的某个目录。
Correct answer: 2
umount
The "umount" command is used to un-mount the external storage devices from the Linux file system.
Correct answer: 4
6
The run level 6 is used with the "init" command to reboot the system.
Correct answer: 1
0
The run level 0 is used with the "init" command to halt the system.
Correct answer: 3
df
The "df" command is used to display information regarding file systems about the total space and free space.
翻译自: https://www.includehelp.com/linux/admin-commands-aptitude-questions-and-answers.aspx
linux管理员权限命令