A NetworkManager connection file was edited by an external editor.
Make NetworkManager reread all connection profiles from disk without activating one.
Which command is appropriate?
nmcli connection reload rereads connection files from disk. Activation and runtime reapplication are separate operations.
Detailed explanation
nmcli connection upIncorrect. connection up activates a profile; it does not reread all files.
Incorrect. connection up activates a profile; it does not reread all files.
nmcli device reapplyIncorrect. device reapply reapplies a current profile to an active device.
Incorrect. device reapply reapplies a current profile to an active device.
nmcli connection reloadCorrect. connection reload rereads connection files from disk.
Correct. connection reload rereads connection files from disk.
nmcli networking connectivity checkIncorrect. The connectivity check tests reachability rather than rereading profiles.
Incorrect. The connectivity check tests reachability rather than rereading profiles.
Try it yourself
An example you can run in a temporary verification environment.
printf '%s
' 'connection reload -> reread profile files'Expected result
connection reload -> reread profile filesKey points
- reload rereads files
- up activates a profile
- reapply updates an active device
Notes
- Environment: 操作対応表の表示のみ
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.