Skip to main content
added 4 characters in body; edited tags
Source Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 267

If iI needed to append a username to the end line 32 on a file, how would iI do so?

I can find on googleGoogle how to add text to the beginning of a line with sedsed, but i cantI can't figure out how iI would append it to the end, or even the middle, if that was possible.

If i needed to append a username to the end line 32 on a file, how would i do so?

I can find on google how to add text to the beginning of a line with sed, but i cant figure out how i would append it to the end, or even the middle if that was possible.

If I needed to append a username to the end line 32 on a file, how would I do so?

I can find on Google how to add text to the beginning of a line with sed, but I can't figure out how I would append it to the end, or even the middle, if that was possible.

Source Link
TrevorKS
  • 658
  • 3
  • 11
  • 22

How to append text to the end of a certain line of a file?

If i needed to append a username to the end line 32 on a file, how would i do so?

I can find on google how to add text to the beginning of a line with sed, but i cant figure out how i would append it to the end, or even the middle if that was possible.