我想在/ etc/sudoers文件中刪除(uncommnet#)輪組,所以我應該使用哪種正則表達式模式?正則表達式模式編輯/ etc/sudoers文件
#cat /etc/sudoers
....
....
## Allows members of the 'sys' group to run networking, software,
## service management apps and more.
# %sys ALL = NETWORKING, SOFTWARE, SERVICES, STORAGE, DELEGATING, PROCESSES, LOCATE, DRIVERS
## Allows people in group wheel to run all commands
# %wheel ALL=(ALL) ALL
## Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
....
....
我想從下面的行中刪除#。
...
# %wheel ALL=(ALL) NOPASSWD: ALL
...
我就知道!但我們有批量安裝,我不能手工完成。它只是單行編輯,這就是爲什麼我不擔心。 – Satish
瞧!你走了!你說對了。有用! – Satish
\ s *的含義是什麼?我相信空白空間.. – Satish