![]() |
cat commands - Printable Version +- Linux Lite Forums (https://www.linuxliteos.com/forums) +-- Forum: Development (https://www.linuxliteos.com/forums/forumdisplay.php?fid=7) +--- Forum: Scripting and Bash (https://www.linuxliteos.com/forums/forumdisplay.php?fid=32) +--- Thread: cat commands (/showthread.php?tid=3999) |
cat commands - colin - 04-27-2017 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 Re: cat commands - colin - 04-27-2017 Have used <(echo) like so, :~$ cat file1 <(echo) file2 and it does the job. Re: cat commands - firenice03 - 04-27-2017 [member=6850]colin[/member] 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 Re: cat commands - colin - 05-12-2017 Sorry about the delay but i really forgot to checkup on this post and to say a big thanks to firenice03 for the links. Re: cat commands - firenice03 - 05-12-2017 (05-12-2017, 04:25 PM)colin link Wrote: 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 |