Let's say my main directory is /home/testUnder it I have lots of subdirectories and under subdirectories still a lots of them and so on.Example:/home/test/home/test/subdir1/home/test/subdir1/subdir2/home/test/subdir1/subdir2/subdir3/home/test/subdir1/subdir2/subdir4/home/test/subdir1/subdir2/subdir4/subdir5and so on ...I want a simple script that takes each directory and just runs the pwd command.
How to execute a bash command in all possible subdirectories?
shell;files;directory;directory structure