Search Results

Search: Posts Made By: prvnrk
2,275
Posted By prvnrk
Thanks RavinderSingh, Unfortunately your...
Thanks RavinderSingh,

Unfortunately your solution did NOT work if I used as it is.

[root@test_srvr tmp]# cat test_file
Defaults requiretty
# changed in order to be able to use sudo without...
2,275
Posted By prvnrk
How to comment a specific line of a file?
Hi,

I need to comment out (insert # in the front of a line) a line that has entry Defaults requiretty using command-line as I need to do this on hundreds of servers.

From
Defaults ...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 07:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy