Sponsored Links

Partners

Useful references

Attention: open in a new window. PDFPrintE-mail

To find and replace in files, in this instance we are altering the Polycom IP320 <mac>reg.cfg file to remove the second line key.

either

cd /tftpboot (if using tftp)

OR

cd /home/polycom

for f in 00*; do mv $f $f.old; sed 's#reg.1.lineKeys="2"#reg.1.lineKeys="1"#g' $f.old > $f; done