linux 网络命令
This section contains Aptitude Questions and Answers on Linux Network Commands.
本节包含有关Linux网络命令的 Aptitude问答。
IP address
Mac address
MTU
All of the above
Options:
Correct answer: 4
D
We can view IP address, MAC address, and MTU using ifconfig command I the Linux operating system.
IP地址
MAC地址
MTU
上述所有的
选项:
正确答案:4
d
我们可以在Linux操作系统中使用ifconfig命令查看IP地址,MAC地址和MTU。
Correct answer: 1
Maximum Transmission Unit
The MTU stands for Maximum Transmission Unit.
cat
file
help
man
Options:
Correct answer: 2
1500
The default size of MTU is 1500.
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.
正确答案:1
ifconfig <接口> mtu <大小>
第一个命令是正确的,这里的接口可以是eth0或eth1 ,大小是整数。
Correct answer: 2
ifdown eth0
The ifdown eth0 command is used to down the eth0 interface port.
正确答案:2
ifdown eth0
ifdown eth0命令用于关闭eth0接口端口。
Correct answer: 3
ifconfig <interface> <ip address> netmask <subnet mask>
The 3rd command is used to set subnet mask in the Linux operating system.
正确答案:3
ifconfig <接口> <IP地址>网络掩码<子网掩码>
第三个命令用于在Linux操作系统中设置子网掩码。
Correct answer: 2
ip a show <interface>
The 2nd command is used to show information about specified interface.
正确答案:2
ip显示<接口>
第二个命令用于显示有关指定接口的信息。
It is a network troubleshooting command which is used to trace the number of hops is required for packets to reach the destination.
This command requires root privileges.
By default, it is not installed in the Linux system
All of the above
Options:
Correct answer: 4
D
All given statements are correct about "traceroute" in the Linux system
这是网络故障排除命令,用于跟踪数据包到达目的地所需的跃点数。
此命令需要root特权。
默认情况下,它未安装在Linux系统中
上述所有的
选项:
正确答案:4
d
所有给定的语句对于Linux系统中的“ traceroute”都是正确的
It is also used for network troubleshooting.
This command requires root privileges.
By default, it is installed in the Linux system
All of the above
Options:
Correct answer: 3
A and C
Statements A and C are correct about the "tracepath" command.
它还用于网络故障排除。
此命令需要root特权。
默认情况下,它安装在Linux系统中
上述所有的
选项:
正确答案:3
A和C
语句A和C关于“ tracepath”命令是正确的。
Correct answer: 1
Yes
Yes, we can use the ping command with domain name instead of IP address.
Information about programs related to open socket.
Information about routing tables.
Statistics about all ports
All of the above
Options:
Correct answer: 4
D
All given information can be displayed using the netstat command.
有关与开放套接字相关的程序的信息。
有关路由表的信息。
所有端口的统计信息
上述所有的
选项:
正确答案:4
d
可以使用netstat命令显示所有给定的信息。
Correct answer: 3
netstat -r
The netstat -r command is used to get information about routing tables.
正确答案:3
netstat -r
netstat -r命令用于获取有关路由表的信息。
Correct answer: 2
nslookup
The nslookup command is used to get mapping information about the domain name and IP address.
正确答案:2
nslookup
nslookup命令用于获取有关域名和IP地址的映射信息。
Correct answer: 3
Name Server lookup
The nslookup stands for "Name Server lookup".
Correct answer: 1
Domain Information Groper
The "dig" stands for "Domain Information Groper", it is commonly used Linux command for DNS lookup.
正确答案:1
域信息收集器
“ dig”代表“ Domain Information Groper” ,它是Linux用于DNS查找的常用命令。
The ss command is the replacement for the netstat command.
It is faster than the netstat command.
We can display all UDP and TCP socket connections using ss command.
The ss can display all TCP socket connections only.
Options:
Correct answer: 3
A, B, and C
Statements A, B, and C are correct about ss command in the Linux operating system.
ss命令代替了netstat命令。
它比netstat命令快。
我们可以使用ss命令显示所有UDP和TCP套接字连接。
ss只能显示所有TCP套接字连接。
选项:
正确答案:3
A,B和C
在Linux操作系统中,关于ss命令的语句A,B和C是正确的。
Correct answer: 3
route
The route command is used to display and manipulate routing tables in the Linux operating system.
Correct answer: 2
delete
The delete option is not used with route command; here we use the del option to delete a route.
正确答案:2
删除
delete选项不与route命令一起使用; 在这里,我们使用del选项删除一条路线。
This command is used to display domain name for specified IP address.
This command is used to display an IP address for the specified domain name.
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.
正确答案:3
以上两者
host命令用于显示指定IP地址的域名,反之亦然。
curl
wget
filedownload
All of the above
Options:
Correct answer: 1
A and B
The curl and wget commands are used to download files from the specified URL.
卷曲
get
下载文件
上述所有的
选项:
正确答案:1
A和B
curl和wget命令用于从指定的URL下载文件。
Correct answer: 3
iwconfig
The iwconfig command is used to configure the wireless network interface.
正确答案:3
iwconfig
iwconfig命令用于配置无线网络接口。
Correct answer: 4
arp
The arp command is used to view and add content into the kernel ARP table?
Correct answer: 3
Both of the above
Statements 1 and 2 are correct about whois command.
正确答案:3
以上两者
关于whois命令的语句1和2是正确的。
Correct answer: 1
Yes
Yes, it is true.
Correct answer: 1
ifplugstatus
The ifplugstatus command is used to check network cable is plugged or not.
正确答案:1
ifplugstatus
ifplugstatus命令用于检查网络电缆是否已插入。
翻译自: https://www.includehelp.com/linux/network-commands-aptitude-questions-and-answers.aspx
linux 网络命令