One Liners in Perl and other UNIX programs
One Liners in Perl and other UNIX programs
Perl
Swap the state of an option in /etc/ssh/sshd_config
Perl
Swap the state of an option in /etc/ssh/sshd_config
$ perl -pi -e 's/#(StrictModes\s)yes/\1no/' /etc/ssh/sshd_config
--
TomRockwell
- 27 Dec 2005
This topic: Computing
>
WebHome
>
OneLiners
Topic revision:
16 Oct 2009,
TomRockwell
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki?
Send feedback