P
Pioneer
Hi,
I have to write some text in a file keeping the previous content as it
is.
e.g.
$ cat file1
abc
qwe
I want the o/p as
$ cat file1
abc
123
qwe
I want to write 123 at second line. "open" command with > and >>
options either overwrites or appends at the end.
Thanks in advance
Pioneer
I have to write some text in a file keeping the previous content as it
is.
e.g.
$ cat file1
abc
qwe
I want the o/p as
$ cat file1
abc
123
qwe
I want to write 123 at second line. "open" command with > and >>
options either overwrites or appends at the end.
Thanks in advance
Pioneer