stu nicholls dot com | menu - Professional dropdown #3

Linux: split and Paste command

Linux: split command

Linux: Paste command

Syntax: paste [-s] [-d list] file

Content of file example1.txt

hello
Me
Thank
ok

Content of file example2.txt

how are you?
Fine
You

Example: paste example1.txt example2.txt > example3.txt

The output of example3.txt

Hello how are you
Me fine
Thank you
ok

Note: if you use –s option then one file will be pasted after the other.

Our aim is to provide information to the knowledge seekers. 

comments powered by Disqus
click here
click here
Footer1