I need to search in my all directories with the word [today] present in the file whats the command.
Do you mean something like:
find $HOME -type f -exec grep -Fl '[today]' '{}' +
(the options are uppercase F and lowercase ell) which will give you just the names of your files containing the string [today]
, or something like:
find $HOME -type f -exec grep -Fn '[today]' /dev/null '{}' +
which will give you the name of the file, the line # in that file, and the text of the lines containing that string.