Insert character at specified position


awk '{$2="#"$2;print $0}' your_file

This will add # to the start of the second (space-separated) column regardless of which position it occurs at.



sed -r -e 's/^.{15}/&#/' file

Insert '#' in position 15

Ver consumo de disco do nós Simplivity

 1) Conectar, via SSH, em uma das OVCs utilizando a credencial "administrator@vsphere.local" 2) Executar os comandos abaixo:    - ...

Mais vistos