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?
cat file1 file2 | more
This is what you are looking for.
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.
more "filename with space" "filenames" filename\ also\ with\ spaces and.one.more.file
cat file1 file2 file3 ... filen | more
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
By posting your answer, you agree to the
terms of service.
1 year ago