Linux command
netctl 命令
安全
权限或系统影响较大,执行前请核对目标。
常用示例
Start a profile
sudo netctl start [profile]
Stop a profile
sudo netctl stop [profile]
Enable profile at boot
sudo netctl enable [profile]
List all profiles
netctl list
Check profile status
netctl status [profile]
Switch profile
sudo netctl switch-to [profile]
说明
netctl is Arch Linux's network profile manager. It manages network configurations through profile files, supporting wired, wireless, bridges, bonds, and VLANs. netctl uses systemd and can work alongside NetworkManager (but typically not simultaneously).
参数
- start _profile_
- Start network profile.
- stop _profile_
- Stop network profile.
- enable _profile_
- Enable at boot.
- disable _profile_
- Disable at boot.
- list
- List all profiles.
- status _profile_
- Show profile status.
- switch-to _profile_
- Switch to profile.
FAQ
What is the netctl command used for?
netctl is Arch Linux's network profile manager. It manages network configurations through profile files, supporting wired, wireless, bridges, bonds, and VLANs. netctl uses systemd and can work alongside NetworkManager (but typically not simultaneously).
How do I run a basic netctl example?
Run `sudo netctl start [profile]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does start _profile_ do in netctl?
Start network profile.