Read filenames from a file and update another file with the status

I have a text file abc.txt, it contains some file names.

I have to write a shell script which checks whether the files names listed in abc.txt exists or not in the directory.

Then create a new file, which contains file name with status ‘Exists’ or ‘Not Exists’.

Source: shell

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.