linux 网络命令_Linux网络命令能力问题和解答

linux 网络命令

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

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

1) Which of the following information can be viewed using "ifconfig" command in the Linux operating system?
  1. IP address

  2. Mac address

  3. MTU

  4. All of the above

Options:

  1. A

  2. A and B

  3. A and C

  4. D

Answer & Explanation

Correct answer: 4
D

We can view IP address, MAC address, and MTU using ifconfig command I the Linux operating system.

1)在Linux操作系统中,可以使用“ ifconfig”命令查看以下哪些信息?
  1. IP地址

  2. MAC地址

  3. MTU

  4. 上述所有的

选项:

  1. 一个

  2. A和B

  3. A和C

  4. d

答案与解释

正确答案:4
d

我们可以在Linux操作系统中使用ifconfig命令查看IP地址,MAC地址和MTU。

2) What is the full form of MTU?
  1. Maximum Transmission Unit

  2. Minimum Transmission Unit

  3. Multiple Transmission Unit

  4. Minimum Transactional Unit

Answer & Explanation

Correct answer: 1
Maximum Transmission Unit

The MTU stands for Maximum Transmission Unit.

2)MTU的完整形式是什么?
  1. 最大传输单位

  2. 最小传输单位

  3. 多路传输单元

  4. 最低交易单位

答案与解释

正确答案:1
最大传输单位

MTU代表最大传输单位。

3) What is the default size of MTU in the Linux operating system?
  1. cat

  2. file

  3. help

  4. man

Options:

  1. 1000

  2. 1500

  3. 2000

  4. 2600

Answer & Explanation

Correct answer: 2
1500

The default size of MTU is 1500.

3)Linux操作系统中MTU的默认大小是多少?
  1. 文件

  2. 救命

  3. 男子

选项:

  1. 1000

  2. 1500

  3. 2000

  4. 2600

答案与解释

正确答案:2
1500

MTU的默认大小为1500。

4) Which exact command is used to change the size of MTU?
  1. ifconfig <interface> mtu <size>

  2. ifconfig mtu <size> <interface>

  3. ifconfig mtu <size>

  4. ifconfig <interface> -m <size>

Answer & Explanation

Correct answer: 1
ifconfig <interface> mtu <size>

The 1st command is correct, here interface can be eth0 or eth1 and size will be an integer number.

4)使用哪个确切的命令来更改MTU的大小?
  1. ifconfig <接口> mtu <大小>

  2. ifconfig mtu <大小> <接口>

  3. ifconfig mtu <大小>

  4. ifconfig <接口> -m <大小>

答案与解释

正确答案:1
ifconfig <接口> mtu <大小>

第一个命令是正确的,这里的接口可以是eth0或eth1 ,大小是整数。

5) Which exact command is used to down interface eth0 in the Linux operating system?
  1. ifconfig down eth0

  2. ifdown eth0

  3. down eth0

  4. ifconfig -d eth0

Answer & Explanation

Correct answer: 2
ifdown eth0

The ifdown eth0 command is used to down the eth0 interface port.

5)在Linux操作系统中使用哪个确切命令来关闭eth0接口?
  1. ifconfig down eth0

  2. ifdown eth0

  3. eth0

  4. ifconfig -d eth0

答案与解释

正确答案:2
ifdown eth0

ifdown eth0命令用于关闭eth0接口端口。

6) Which exact command is used to set subnet mask in the Linux operating system?
  1. ifconfig <ip address> subnet <subnet mask> <interface>

  2. ifconfig <interface> <ip address> subnet <subnet mask>

  3. ifconfig <interface> <ip address> netmask <subnet mask>

  4. ifconfig <ip address> netmask <subnet mask> <interface>

Answer & Explanation

Correct answer: 3
ifconfig <interface> <ip address> netmask <subnet mask>

The 3rd command is used to set subnet mask in the Linux operating system.

6)在Linux操作系统中,哪个确切的命令用于设置子网掩码?
  1. ifconfig <IP地址>子网<子网掩码> <接口>

  2. ifconfig <接口> <IP地址>子网<子网掩码>

  3. ifconfig <接口> <IP地址>网络掩码<子网掩码>

  4. ifconfig <IP地址>网络掩码<子网掩码> <接口>

答案与解释

正确答案:3
ifconfig <接口> <IP地址>网络掩码<子网掩码>

第三个命令用于在Linux操作系统中设置子网掩码。

7) Which exact command is used to show information about specified interface?
  1. ip show <interface>

  2. ip a show <interface>

  3. ip b show <interface>

  4. ip <interface> show

Answer & Explanation

Correct answer: 2
ip a show <interface>

The 2nd command is used to show information about specified interface.

7)使用哪个确切的命令来显示有关指定接口的信息?
  1. ip show <接口>

  2. ip显示<接口>

  3. ip b show <接口>

  4. ip <interface>显示

答案与解释

正确答案:2
ip显示<接口>

第二个命令用于显示有关指定接口的信息。

8) There are the following statements that are given below which of them are correct about "traceroute" in the Linux operating system?
  1. It is a network troubleshooting command which is used to trace the number of hops is required for packets to reach the destination.

  2. This command requires root privileges.

  3. By default, it is not installed in the Linux system

  4. All of the above

Options:

  1. A and B

  2. B and C

  3. A and C

  4. D

Answer & Explanation

Correct answer: 4
D

All given statements are correct about "traceroute" in the Linux system

8)在Linux操作系统中,下面给出了以下关于“ traceroute”的正确说法?
  1. 这是网络故障排除命令,用于跟踪数据包到达目的地所需的跃点数。

  2. 此命令需要root特权。

  3. 默认情况下,它未安装在Linux系统中

  4. 上述所有的

选项:

  1. A和B

  2. B和C

  3. A和C

  4. d

答案与解释

正确答案:4
d

所有给定的语句对于Linux系统中的“ traceroute”都是正确的

9) There are the following statements that are given below which of them are correct about the "tracepath" command in the Linux operating system?
  1. It is also used for network troubleshooting.

  2. This command requires root privileges.

  3. By default, it is installed in the Linux system

  4. All of the above

Options:

  1. A and B

  2. B and C

  3. A and C

  4. D

Answer & Explanation

Correct answer: 3
A and C

Statements A and C are correct about the "tracepath" command.

9)在Linux操作系统中,下面给出了以下关于“ tracepath”命令正确的语句?
  1. 它还用于网络故障排除。

  2. 此命令需要root特权。

  3. 默认情况下,它安装在Linux系统中

  4. 上述所有的

选项:

  1. A和B

  2. B和C

  3. A和C

  4. d

答案与解释

正确答案:3
A和C

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

10) Can we use the ping command with domain name instead of IP address?
  1. Yes

  2. No

Answer & Explanation

Correct answer: 1
Yes

Yes, we can use the ping command with domain name instead of IP address.

10)我们可以使用带域名而不是IP地址的ping命令吗?
  1. 没有

答案与解释

正确答案:1

是的,我们可以使用带域名而不是IP地址的ping命令。

11) Which of the following information can be displayed using the "netstat" command?
  1. Information about programs related to open socket.

  2. Information about routing tables.

  3. Statistics about all ports

  4. All of the above

Options:

  1. A and B

  2. B and C

  3. A and C

  4. D

Answer & Explanation

Correct answer: 4
D

All given information can be displayed using the netstat command.

11)使用“ netstat”命令可以显示以下哪些信息?
  1. 有关与开放套接字相关的程序的信息。

  2. 有关路由表的信息。

  3. 所有端口的统计信息

  4. 上述所有的

选项:

  1. A和B

  2. B和C

  3. A和C

  4. d

答案与解释

正确答案:4
d

可以使用netstat命令显示所有给定的信息。

12) Which exact command is used to get information about routing tables?
  1. netstat -p

  2. netstat -s

  3. netstat -r

  4. None of the above

Answer & Explanation

Correct answer: 3
netstat -r

The netstat -r command is used to get information about routing tables.

12)使用哪个确切命令来获取有关路由表的信息?
  1. netstat -p

  2. netstat -s

  3. netstat -r

  4. 以上都不是

答案与解释

正确答案:3
netstat -r

netstat -r命令用于获取有关路由表的信息。

13) Which command is used to querying DNS to get mapping information about the domain name and IP address?
  1. netstate

  2. nslookup

  3. netinfo

  4. domainlookup

Answer & Explanation

Correct answer: 2
nslookup

The nslookup command is used to get mapping information about the domain name and IP address.

13)查询DNS使用哪个命令获取域名和IP地址的映射信息?
  1. 网络状态

  2. nslookup

  3. 网讯

  4. 域查找

答案与解释

正确答案:2
nslookup

nslookup命令用于获取有关域名和IP地址的映射信息。

14) nslookup stands for?
  1. Network System lookup

  2. Network Server lookup

  3. Name Server lookup

  4. Next Server lookup

Answer & Explanation

Correct answer: 3
Name Server lookup

The nslookup stands for "Name Server lookup".

14)nslookup代表什么?
  1. 网络系统查找

  2. 网络服务器查找

  3. 名称服务器查找

  4. 下一台服务器查找

答案与解释

正确答案:3
名称服务器查找

nslookup代表“名称服务器查找”。

15) dig stands for?
  1. Domain Information Groper

  2. Domain Instruction Gist

  3. Double Instruction Groper

  4. Double Information Groper

Answer & Explanation

Correct answer: 1
Domain Information Groper

The "dig" stands for "Domain Information Groper", it is commonly used Linux command for DNS lookup.

15)挖代表?
  1. 域信息收集器

  2. 域指令要点

  3. 双指令收割机

  4. 双信息收割机

答案与解释

正确答案:1
域信息收集器

“ dig”代表“ Domain Information Groper” ,它是Linux用于DNS查找的常用命令。

16) There are the following statements that are given below which of them are correct about the "ss" command in the Linux operating system?
  1. The ss command is the replacement for the netstat command.

  2. It is faster than the netstat command.

  3. We can display all UDP and TCP socket connections using ss command.

  4. The ss can display all TCP socket connections only.

Options:

  1. A and B

  2. A and C

  3. A, B, and C

  4. A, B, and D

Answer & Explanation

Correct answer: 3
A, B, and C

Statements A, B, and C are correct about ss command in the Linux operating system.

16)下面给出了以下语句,其中哪些对于Linux操作系统中的“ ss”命令是正确的?
  1. ss命令代替了netstat命令。

  2. 它比netstat命令快。

  3. 我们可以使用ss命令显示所有UDP和TCP套接字连接。

  4. ss只能显示所有TCP套接字连接。

选项:

  1. A和B

  2. A和C

  3. A,B和C

  4. A,B和D

答案与解释

正确答案:3
A,B和C

在Linux操作系统中,关于ss命令的语句A,B和C是正确的。

17) Which of the following command is used to display and manipulate routing tables in the Linux operating system?
  1. routepath

  2. routetable

  3. route

  4. alterroute

Answer & Explanation

Correct answer: 3
route

The route command is used to display and manipulate routing tables in the Linux operating system.

17)以下哪个命令用于在Linux操作系统中显示和操作路由表?
  1. 路径

  2. 路由表

  3. 路线

  4. 改变路线

答案与解释

正确答案:3
路线

route命令用于在Linux操作系统中显示和操作路由表。

18) Which of the following is not the correct option used with route command?
  1. add

  2. delete

  3. -net

  4. -host

Answer & Explanation

Correct answer: 2
delete

The delete option is not used with route command; here we use the del option to delete a route.

18)以下哪一项不是与route命令一起使用的正确选项?
  1. 删除

  2. -净

  3. -主办

答案与解释

正确答案:2
删除

delete选项不与route命令一起使用; 在这里,我们使用del选项删除一条路线。

19) There are the following statements that are given below which of them are correct about the "host" command in the Linux operating system?
  1. This command is used to display domain name for specified IP address.

  2. This command is used to display an IP address for the specified domain name.

  3. Both of the above

  4. None of the above

Answer & Explanation

Correct answer: 3
Both of the above

The host command is used to display the domain name for a specified IP address and vice versa.

19)下面给出了以下语句,其中哪些对于Linux操作系统中的“主机”命令是正确的?
  1. 该命令用于显示指定IP地址的域名。

  2. 此命令用于显示指定域名的IP地址。

  3. 以上两者

  4. 以上都不是

答案与解释

正确答案:3
以上两者

host命令用于显示指定IP地址的域名,反之亦然。

20) Which of the following commands are used to download files from a specified URL?
  1. curl

  2. wget

  3. filedownload

  4. All of the above

Options:

  1. A and B

  2. A and C

  3. B and C

  4. D

Answer & Explanation

Correct answer: 1
A and B

The curl and wget commands are used to download files from the specified URL.

20)以下哪个命令用于从指定的URL下载文件?
  1. 卷曲

  2. get

  3. 下载文件

  4. 上述所有的

选项:

  1. A和B

  2. A和C

  3. B和C

  4. d

答案与解释

正确答案:1
A和B

curl和wget命令用于从指定的URL下载文件。

21) Which of the following Linux command is used to configure a wireless network interface in the Linux operating system?
  1. wirelessconfig

  2. wconfiguration

  3. iwconfig

  4. wwconig

Answer & Explanation

Correct answer: 3
iwconfig

The iwconfig command is used to configure the wireless network interface.

21)以下哪个Linux命令用于在Linux操作系统中配置无线网络接口?
  1. 无线配置

  2. w配置

  3. iwconfig

  4. wwconig

答案与解释

正确答案:3
iwconfig

iwconfig命令用于配置无线网络接口。

22) How can we view and add content in the kernel ARP table?
  1. arpmod

  2. arpalter

  3. arptable

  4. arp

Answer & Explanation

Correct answer: 4
arp

The arp command is used to view and add content into the kernel ARP table?

22)我们如何查看和添加内核ARP表中的内容?
  1. Arpmod

  2. Arpalter

  3. 可调整的

  4. 阿普

答案与解释

正确答案:4
阿普

arp命令用于查看内容并将其添加到内核ARP表中吗?

23) Which of the following statements are correct about whois command?
  1. We can get name servers of a website using whois command.

  2. The whois command is used to get domain name and registry information for a website.

  3. Both of the above

  4. None of the above

Answer & Explanation

Correct answer: 3
Both of the above

Statements 1 and 2 are correct about whois command.

23)关于Whois命令,以下哪项陈述是正确的?
  1. 我们可以使用whois命令获取网站的名称服务器。

  2. whois命令用于获取网站的域名和注册信息。

  3. 以上两者

  4. 以上都不是

答案与解释

正确答案:3
以上两者

关于whois命令的语句1和2是正确的。

24) Is it true that mtr command works like a combination of ping and traceroute command?
  1. Yes

  2. No

Answer & Explanation

Correct answer: 1
Yes

Yes, it is true.

24)难道mtr命令像ping和traceroute命令的组合一样工作?
  1. 没有

答案与解释

正确答案:1

是的,它是真的。

25) Which command is used to check network cable is plugged or not?
  1. ifplugstatus

  2. ifcableplug

  3. ifcablestatus

  4. isplugstatus

Answer & Explanation

Correct answer: 1
ifplugstatus

The ifplugstatus command is used to check network cable is plugged or not.

25)哪个命令用于检查网络电缆是否已插入?
  1. ifplugstatus

  2. ifcableplug

  3. 电缆状态

  4. isplugstatus

答案与解释

正确答案:1
ifplugstatus

ifplugstatus命令用于检查网络电缆是否已插入。

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

linux 网络命令

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值