fir3net

PPS-Firenetbanner-780.5x190-30-03-17

Solaris - Sed -i work around

The version of sed on Solaris cannot actually save the file. So as a work around just type 'perl -pi -e' instead of the sed command :

perl -pi -e ā€™s/who/when/gā€™ /tmp/afile 

Tags: UNIX