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

SSH pos-quantum config

  On the SSH Server 1. Check OpenSSH version (requires OpenSSH 9.0+): ssh -V 2. Edit SSH server configuration: Edit /etc/ssh/sshd_config...

Mais vistos