I have a file which contains directories and subdirectories and I need to search for lines which are subdirectories. I used the
grep command to perform the action but it does not work. Can you please let me know how to perform this action?
For example a file called a.txt has the below data:
. ./vou ./vou/bin ./vou/ctl ./vou2 ./vou2/test
The end result should be:
./vou/bin ./vou/ctl ./vou2/test