Created
February 27, 2018 18:05
-
-
Save sodonnell/6ff0bd427368f37317bd321de5953478 to your computer and use it in GitHub Desktop.
Replacing strings in a single file using Perl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo perl -pi -e 's/Defaults requiretty//' /etc/sudoers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment