Linux Lite Forums
Development => Scripting and Bash => Topic started by: colin on April 27, 2017, 07:39:31 AM
-
When i want to open more than one file i just type: cat file1 file2 press Enter and the files appear one on top of the other. Is there a way to put a space between these files? Thanks
-
Have used <(echo) like so, :~$ cat file1 <(echo) file2 and it does the job.
-
@colin
You may find the links below helpful ???
*Add* I see you found an option - these may have some benefit to you....
https://www.howtogeek.com/278599/how-to-combine-text-files-using-the-cat-command-in-linux/
https://serverfault.com/questions/172284/linux-cat-with-separators-among-files
-
Sorry about the delay but i really forgot to checkup on this post and to say a big thanks to firenice03 for the links.
-
Sorry about the delay but i really forgot to checkup on this post and to say a big thanks to firenice03 for the links.
;D ;D ;D
Glad it helped
;D ;D ;D