我使用的是Kali Linux,我输入的命令是
sudo systemctl restart systemd-resolved.gz
我得到的只是
System has not been booted with systemd as init system (PID 1).
Can't operate.
Failed to connect to bus: Host is down
我是个菜鸟,但我对Kali Linux有点熟悉
我对Linux不是很熟悉,所以我在将以下命令转换为相对较短的Linux版本时遇到了问题。
FOR /F "eol=; tokens=2,2 delims==" %i IN ('findstr /i "version" test.properties') DO
在谷歌上搜索时,我似乎总是偶然发现过长的解决方案。