0

I just want to know how AWK, grep and find command differ from each other in terms of functionalities and which command to use when?

deepayan das
  • 1,567
  • 3
  • 14
  • 21

1 Answers1

1

The command would be

find . -type d -name '*word*'
arboreal84
  • 2,086
  • 18
  • 21
  • Thanks, @arboreal84. That definitely worked. In order to delete the listed directories I used `find . -type d -name '*word*'| xargs -I% rm -rf %`. – deepayan das May 29 '17 at 09:10