Comment line with sed

comment line starting with abc
sed -i '/^abc.*/s/^/#/' file

comment all lines in the file
sed -i '/^/s/^/#/' file

comment line starting with abc and append a comment on end of line
sed '/^abc.*/s/^/# /; //s/$/ comment/' file

Configure Putty.exe to save serial console output to a file

  Impact of procedure :  Performing the following procedure should not have a negative impact on your system. Open putty by double click...

Mais vistos