1

I have a file where I have lot of file name:

file1.txt
file2.txt
file3.txt
file4.txt
...
fileN.txt

I want to cat all the file that are present in this file

Nono_sad
  • 433
  • 4
  • 16

1 Answers1

1

Since you tagged :

cat $(< file)
Arkadiusz Drabczyk
  • 11,227
  • 2
  • 25
  • 38
  • 2
    Break on file names with spaces or newlines or anything from the `$IFS` environment. Work only with Zsh and Bash. – Léa Gris Oct 10 '20 at 21:47