Edit: The post was closed for being a duplicate, but the best answer for me wasn't in either of those questions. using
head *
does exactly what I want
I have a directory that has a bunch of 1-line files in it representing some data I'd like to see. I'm wondering if there's a simple command or chain of commands I can use to get a view like
file1.txt
data1
file2.txt
data2
file3.txt
data3
...