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?
- startup
- uptime
- startuptime
- time
Answer & Explanation
Correct answer: 2
uptime
The uptime command is used to know, how long a computer has been running.
1)使用哪個Linux指令知道計算機已經運作了多長時間?
- 啟動
- 正常運作時間
- 啟動時間
- 時間
答案與解釋
正确答案: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?
- 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.
- A and B
- A, B, and D
- B, C, and D
- 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”指令是正确的?
- service指令用于通過調用關聯的腳本來啟動服務。
- service指令用于通過調用關聯的腳本來停止服務。
- service指令用于通過調用關聯的腳本來暫停服務。
- service指令用于通過調用關聯的腳本來重新啟動服務。
- A和B
- A,B和D
- B,C和D
- 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?
- /etc/services/
- /etc/scripts/
- /etc/init.d/
- /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作業系統中使用的服務相關的腳本?
- / etc / services /
- / etc / scripts /
- /etc/init.d/
- / 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?
- 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.
- A and B
- B and D
- A, B, and D
- 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系統中的“運作時間”指令是正确的?
- 我們可以使用uptime指令擷取目前系統時間。
- 我們可以使用uptime指令擷取登入的使用者數。
- 此指令還顯示平均CPU負載。
- 此指令還顯示計算機運作的持續時間。
- A和B
- B和D
- A,B和D
- A,B,C和D
答案與解釋
正确答案:4 A,B,C和D所有有關“正常運作時間”指令的陳述都是正确的。
5) Which option is used to know only system running time using the "uptime" command?
- -p
- -u
- -l
- -k
Answer & Explanation
Correct answer: 1
-p
The option -p is used to know only system running time.
5)使用哪個選項可以通過“ uptime”指令僅了解系統運作時間?
- -p
- -u
- -l
- -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?
- 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.
- A and B
- A, B, and C
- A, C, and D
- 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”指令是正确的?
- 此指令用于顯示有關系統中正在運作的程序的資訊。
- 此指令顯示系統調用占用的記憶體。
- 此指令顯示正在運作的程序的程序ID。
- 此指令顯示正在運作的程序的名稱。
- A和B
- A,B和C
- A,C和D
- 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?
- signal -all
- kill -p
- kill -l
- 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作業系統中使用的信号名稱?
- 全部信号
- 殺死-p
- 殺死-l
- 殺死-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?
- SIGINT
- SIGHUP
- SIGQUIT
- SIGKILL
- A and B
- A, B, and C
- A, C, and D
- 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中使用的正确信号?
- SIGINT
- 西格普
- SIGQUIT
- 殺人狂
- A和B
- A,B和C
- A,C和D
- A,B,C和D
答案與解釋
正确答案:4 A,B,C和D所有給定的選項都是Linux中使用的正确信号。
9) Which exact command is used to kill a running process using process id?
- killall <process id>
- kill -9 <process id>
- kill -p <process id>
- kill -s <process id>
Answer & Explanation
Correct answer: 2
kill -9 <process id>
9)使用哪個确切的指令使用程序ID終止正在運作的程序?
- killall <程序ID>
- 殺死-9 <程序ID>
- kill -p <程序ID>
- kill -s <程序ID>
答案與解釋
正确答案:2 殺死-9 <程序ID>10) Which exact command is used to kill a process by name?
- killall <process name>
- kill -n <process name>
- kill -p <process name>
- kill -s <process name>
Answer & Explanation
Correct answer: 1
killall <process name>
10)使用哪個确切的指令按名稱殺死程序?
- killall <程序名稱>
- kill -n <程序名稱>
- kill -p <程序名稱>
- kill -s <程序名稱>
答案與解釋
正确答案:1 killall <程序名稱>11) Which of the following command is used to know about the swap memory of the system?
- swapmem
- free
- sw
- sp
Answer & Explanation
Correct answer: 2
free
11)以下哪個指令用于了解系統的交換記憶體?
- 交換記憶體
- 自由
- SW
- SP
答案與解釋
正确答案:2 自由12) Which of the following commands are used to kill a running process in the Linux system?
- kill
- killall
- pkill
- xkill
- A and B
- A, B, and C
- A, C, and D
- 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系統中正在運作的程序?
- 殺
- 全殺
- 殺人
- 殺人
- A和B
- A,B和C
- A,C和D
- A,B,C和D
答案與解釋
正确答案:4 A,B,C和D所有給定的指令均用于終止Linux系統中正在運作的程序。
13) Which of the following signal is used to PAUSE and STOP the processes?
- SIGSTOP
- SIGSTP
- SIGPAUSE
- SIGPS
Answer & Explanation
Correct answer: 2
SIGSTP
The SIGSTP signal is used to PAUSE and STOP the process.
13)以下哪個信号用于暫停和停止過程?
- SIGSTOP
- 貿易總協定
- SIGPAUSE
- 全球定位系統
答案與解釋
正确答案:2 貿易總協定SIGSTP信号用于暫停和停止過程。
14) Which of the following command is used to display the memory map of processes in the Linux system?
- pmap
- memmap
- map
- 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系統中程序的記憶體映射?
- pmap
- 記憶體映射
- 地圖
- 程序圖
答案與解釋
正确答案: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?
- 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.
- A and B
- A, B, and C
- A, C, and D
- 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”指令是正确的?
- 此指令顯示有關使用者上次登入時間的資訊。
- last指令用于顯示系統中最後執行的程序。
- 此指令顯示IP位址,使用者名和登入持續時間。
- 日志資訊存儲在“ / var / log / wtmp”檔案中。
- A和B
- A,B和C
- A,C和D
- 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?
- Using init 0 command
- Using init 6 command
- Using shutdown command
- 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)我們如何通過通知所有使用者來關閉系統?
- 使用init 0指令
- 使用init 6指令
- 使用關機指令
- 使用關閉指令
答案與解釋
正确答案:3 使用關機指令shutdown指令用于通過通知所有使用者來關閉系統。
17) How can we shut down the system immediately using the "shutdown" command?
- shutdown immediate
- shutdown now
- shutdown n
- 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)如何使用“關閉”指令立即關閉系統?
- 立即關閉
- 現在關閉
- 關機n
- 關閉最終
答案與解釋
正确答案:2 現在關閉“立即關閉”指令用于通過“關閉”指令立即關閉系統。
18) Which of the following commands are used to display the information about the Linux commands?
- man
- info
- infocmd
- All the above
- A and B
- A, B, and C
- A, C, and D
- 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指令的資訊?
- 男子
- 資訊
- infocmd
- 以上全部
- A和B
- A,B和C
- A,C和D
- A,B,C和D
答案與解釋
正确答案:1 A和B“ man”和“ info”指令用于顯示有關Linux指令的資訊。
19) Which Linux command is used to check disk usage of files and directories?
- diskinf
- diskuse
- du
- fileinf
Answer & Explanation
Correct answer: 3
du
The "du" command is used to check the disk usage of files and directories.
19)哪個Linux指令用于檢查檔案和目錄的磁盤使用情況?
- 磁盤資訊
- 磁盤使用
- 杜
- 檔案資訊
答案與解釋
正确答案:3 杜“ du”指令用于檢查檔案和目錄的磁盤使用情況。
20) Which of the following is the first process executed by the kernel during the booting time of the system?
- crond
- init
- bootp
- 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)核心在系統啟動期間執行的以下第一個過程是?
- 克朗
- 在裡面
- 布特
- 以上都不是
答案與解釋
正确答案:2 在裡面“ init”指令是核心在引導期間執行的第一個程序。
21) Which Linux command is used to access external storage devices like pen-drive into the Linux file system?
- attach
- access
- mount
- 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檔案系統?
- 連接配接
- 通路
- 安裝
- 數量
答案與解釋
正确答案:3 安裝“ mount”指令用于将外部裝置通路Linux檔案系統中存在的某個目錄。
22) Which Linux command is used to un-mount the external storage devices from the Linux file system?
- unmount
- umount
- nmount
- 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檔案系統中解除安裝外部儲存設備?
- 卸下
- 數量
- 數量
- 以上都不是
答案與解釋
正确答案:2 數量“ umount”指令用于從Linux檔案系統中解除安裝外部儲存設備。
23) Which run-level is used with the "init" command to reboot the system?
- 1
- 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個
- 4
- 6
答案與解釋
正确答案:4 6運作級别6與“ init”指令一起使用以重新開機系統。
24) Which run-level is used with the "init" command to halt the system?
- 1
- 4
- 6
Answer & Explanation
Correct answer: 1The run level 0 is used with the "init" command to halt the system.
24)“ init”指令使用哪個運作級别來停止系統?
- 1個
- 4
- 6
答案與解釋
正确答案:1運作級别0與“ init”指令一起使用可停止系統。
25) Which Linux command is used to display information regarding file systems about the total space and free space?
- file
- info
- df
- 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指令用于顯示有關檔案系統的有關總空間和可用空間的資訊?
- 檔案
- 資訊
- df
- ds
答案與解釋
正确答案:3 df“ df”指令用于顯示有關檔案系統的有關總空間和可用空間的資訊。
翻譯自: https://www.includehelp.com/linux/admin-commands-aptitude-questions-and-answers.aspx
linux管理者權限指令