Quantcast
Channel: Bash – Jackie Chen's IT Workshop
Viewing all articles
Browse latest Browse all 22

Use sed to append a file to another

$
0
0
To append file2 to a specific line in file1, here is command: sed -i “<line>r file2″ file1 Example:

Viewing all articles
Browse latest Browse all 22

Trending Articles