• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

nmcli networking Command Examples

by Deepika

nmcli is a command line tool that provides a way to manage and control the NetworkManager service on a Linux system. The nmcli networking command is used to manage the overall status of network connections and network-related services, including enabling or disabling network connections, setting up network connections, and modifying network configuration details.

Some common tasks performed using the nmcli networking command include:

  • Turning on or off the NetworkManager service: nmcli networking on or nmcli networking off
  • Enabling or disabling specific network connections: nmcli con up id [connection-name] or nmcli con down id [connection-name]
  • Viewing the status of all network connections: nmcli con show
  • Displaying detailed information about a specific connection: nmcli con show id [connection-name]
  • Modifying the configuration of a network connection: nmcli con modify id [connection-name] [property] [value]

In general, nmcli networking provides an easy-to-use and flexible way to manage network connections and settings, making it a powerful tool for network administrators and system administrators.

nmcli networking Command Examples

1. Show the networking status of NetworkManager:

# nmcli networking

2. Enable or disable networking and all interfaces managed by NetworkManager:

# nmcli networking [on|off]

3. Show the last known connectivity state:

# nmcli networking connectivity

4. Show the current connectivity state:

# nmcli networking connectivity check

Filed Under: Linux

Some more articles you might also be interested in …

  1. CentOS / RHEL : Beginners guide to cron
  2. mtr Command Examples in Linux
  3. updatedb: command not found
  4. Difference between absolute and relative paths in Linux
  5. feroxbuster: Simple, fast, recursive content discovery tool written in Rust
  6. lvrename Command Examples in Linux
  7. acpi Command Examples in Linux
  8. xeyes: command not found
  9. sic Command Examples in Linux
  10. Is there a CSS parent selector

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright