使用 APT 安装 Nmap,并自动确认包管理器的确认提示,应使用哪个命令?
nmap --version
sudo apt update
sudo apt install -y nmap
sudo apt scan -y nmap