bash - append an existing line | centos -


i append existing line in file (cent os). example have file have following

# add hash  line 

so adding hash 'to line'

using sed trick?

**

  • update:

** general information, i'm using edit sudoers file part of script i'm working on.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -