nmcli 命令使用
2018-07-03 00:59:09来源:博客园 阅读 ()
nmcli 是 NetworkManager 的控制客户端,通过 man 查看可知:
NMCLI(1) General Commands Manual NMCLI(1)
NAME
nmcli - command-line tool for controlling NetworkManager
SYNOPSIS
nmcli [OPTIONS...] {help | general | networking | radio | connection | device | agent | monitor} [COMMAND] [ARGUMENTS...]
DESCRIPTION
nmcli is a command-line tool for controlling NetworkManager and reporting network status. It can be utilized as a replacement for nm-applet or other
graphical clients. nmcli is used to create, display, edit, delete, activate, and deactivate network connections, as well as control and display network
device status.
Typical uses include:
· Scripts: Utilize NetworkManager via nmcli instead of managing network connections manually. nmcli supports a terse output format which is better
suited for script processing. Note that NetworkManager can also execute scripts, called "dispatcher scripts", in response to network events. See
NetworkManager(8) for details about these dispatcher scripts.
· Servers, headless machines, and terminals: nmcli can be used to control NetworkManager without a GUI, including creating, editing, starting and
stopping network connections and viewing network status.
man 手册中 有两个关于nmcli 的使用条目,使用 man -k 命令即可以查看:
nmcli (1) - command-line tool for controlling NetworkManager
nmcli-examples (7) - usage examples of nmcli
使用 man nmcli-examples 命令,可以查看 nmcli 的最新的用法。
详细的使用,可以参考如下链接,我就不做重复工作了:
man nmcli-examples
https://access.redhat.com/documentation/zh-cn/red_hat_enterprise_linux/7/html/networking_guide/sec-using_the_networkmanager_command_line_tool_nmcli
https://nullr0ute.com/2016/09/connect-to-a-wireless-network-using-command-line-nmcli/
https://www.cnblogs.com/MiKaDoNik/p/8064313.html
以下链接,你将更好得了解 networkmanager :
https://access.redhat.com/documentation/zh-cn/red_hat_enterprise_linux/7/html/networking_guide/sec-introduction_to_networkmanager
[NetworkManager
提供的默认联网服务是一个动态网络控制和配置守护进程,它尝试在其可用时保持网络设备和连接处于活动状态。]
保持更新,转载请注明出处。
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
- awk命令详解 2020-06-10
- 运行 docker .... 命令报错 2020-06-10
- 一个骚命令防止你的文件被误删除! 2020-06-08
- ubuntu之命令相关问题 2020-06-06
- 树莓派使用 OLED 屏显示图片及文字 2020-06-05
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash