Lets say I have a file by name searchfiles.txt
with file names in it:
2345098.txt
2345099.txt
2345100.txt
and so on (100 file entries)
Now I want to list out or display all the file names that match with the filesystem files by passing above (searchfiles.txt
) as input/argument.
How can I achieve this in Linux?