Originally Posted by apss_evaluator
Hi Linux Guru's
I'm trying to find ways on how can I remove lines from a file using "SED" but still the lines do still exists.
tried this command but didnt work = sed 'pogi' sudoers
I'm trying to remove this two line from sudoers (I am root)
# pogi is enabled
halaka ALL=(ALL) NOPASSWD:/opt/hal/bin/test.sh
please enlighten me on other options that can be used
You've asked about sed before...have you not tried to read any documentation, or look this up??? Just putting "how to delete a line from a file using sed" into Google give you THOUSANDS of examples:
Please try to do basic research on your own, before posting, and try to apply what you've been told in previous threads.