Thursday, February 4, 2021

How to view/merge text files




View text file
$ cat list1.txt
milk
bread
apples

$ cat list2.txt
house
car

$
Combine text files
$ cat list1.txt list2.txt
milk
bread
apples

house
car

$
Combine 2 text files to another file
$ cat list1.txt list2.txt > todo.txt
$

No comments:

Post a Comment

Horizontal Scaling vs Vertical Scaling

 একটা application হঠাৎ করে অনেক বেশি user পেতে শুরু করল। আগে যেখানে ১,০০০ জন user ছিল, এখন সেখানে ১ লাখ user! তখন স্বাভাবিকভাবেই প্রশ্ন আসে—...