Difference: OneLiners (r2 vs. r1)

r2 - 13 Oct 2009 - 20:48 - ChipBrock r1 - 27 Dec 2005 - 02:52 - TomRockwell

One Liners in Perl and other UNIX programs

One Liners in Perl and other UNIX programs

Perl

Perl

Swap the state of an option in /etc/ssh/sshd_config
Swap the state of an option in /etc/ssh/sshd_config
$ perl -pi -e 's/#(StrictModes\s)yes/\1no/' /etc/ssh/sshd_config
$ perl -pi -e 's/#(StrictModes\s)yes/\1no/' /etc/ssh/sshd_config

-- TomRockwell - 27 Dec 2005

-- TomRockwell - 27 Dec 2005

r2 - 13 Oct 2009 - 20:48 - ChipBrock r1 - 27 Dec 2005 - 02:52 - TomRockwell

View topic | View difference interwoven | History: r3 < r2 < r1 | More topic actions
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback