Home Linux Write a shell script that Combines two files in the third file horizontally and vertically.

Write a shell script that Combines two files in the third file horizontally and vertically.

40 second read
0
0
271

Write a shell script that Combines two files in the third file horizontally and vertically.


echo "Enter file1"

read f1

echo "Enter file2"

read f2

cat $f1>f3

cat $f2>f3

echo "The vertically combination is:"

cat f3

paste $f1 $f2>f4

echo "The horizontal combination is:"

cat f4

Load More Related Articles
Load More By admin akash
Load More In Linux

Leave a Reply

Your email address will not be published. Required fields are marked *

Check Also

Prime Or Not Prime vb.net Program.

Prime Or Not Prime . …