cancel
Showing results for 
Search instead for 
Did you mean: 

BASH Scripting

all star
Occasional Advisor

BASH Scripting

Hi,

i have a text file with contents
a
b
d
e

now, i want to add "c" after b to the file using a command/script.

could you please suggest which is good way to do this.

sorry, i might be asking very basic question, i'm new to scriping.

1 REPLY
all star
Occasional Advisor

Re: BASH Scripting

thank you!

i got it working with sed command