我正在尝试在 Cygwin 中使用 Vi 编辑 /etc/hosts,但它是只读的。是否有类似于 sudo 的命令?如何编辑只读文件?
谢谢
cygwin text-editing read-only
cygwin ×1
read-only ×1
text-editing ×1