Help for this page

Select Code to Download


  1. or download this
    perl -i -pe 's/^sshd_enable=".*?"/sshd_enable="YES"/' /etc/rc.conf
    
  2. or download this
    perl -i -pe 's/^sshd_enable="(.*?)"/qq{sshd_enable="} . ( $1 eq "YES" 
    +? "NO" : "YES" ) . qq{"}/e' /etc/rc.conf