I have a file that contains directory names:
my_list.txt
:
/tmp
/var/tmp
I’d like to check in Bash before I’ll add a directory name if that name already exists in the file.
I have a file that contains directory names:
my_list.txt
:
/tmp
/var/tmp
I’d like to check in Bash before I’ll add a directory name if that name already exists in the file.