0

While displaying more than one file with more, I don't want to display filenames along with the contents.

I only need to display the contents of the file. Is there any way to escape the filenames?

slhck
  • 235,242

3 Answers3

2

Trivial

cat file1 file2 file3 ... filen | more
Ex Umbris
  • 1,219
1
cat file1 file2 | more

This is what you are looking for.

slhck
  • 235,242
nims
  • 246
-1

more "filename with space" "filenames" filename\ also\ with\ spaces and.one.more.file is all you need, but you might consider using less instead of more. They say less is more.

Rob
  • 2,422