Link to home
Start Free TrialLog in
Avatar of saibsk
saibsk

asked on

append one file at the end of another

How do I append one file at the end of another file using sed command?
Avatar of Tintin
Tintin

Why sed?

Why not just

cat file1 >>file2

If you really did want to use sed, you can do

sed 'n' file1 >>file2
Avatar of saibsk

ASKER

what is the n option in sed Please advise.
From memory it means "next line"
ASKER CERTIFIED SOLUTION
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial