'grep' is not recognized as an internal or external command, -- aio cloudmanager:tail-logs <environmentId>author aemerror | grep debug | Community
Skip to main content
New Participant
March 25, 2022
Solved

'grep' is not recognized as an internal or external command, -- aio cloudmanager:tail-logs <environmentId>author aemerror | grep debug

  • March 25, 2022
  • 1 reply
  • 7400 views

'grep' is not recognized as an internal or external command.

Command:  aio cloudmanager:tail-logs <environmentId>author aemerror | grep debug

without grep trailing is working fine, can someone suggest?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by iamnjain

Okay! then error is correct only, as grep is not windows command. You can use alternative for the same on windows CMD.

I think findstr is the alternative for the same. 

Can you please try with that?

 

Hope it helps!

1 reply

iamnjain
New Participant
June 2, 2023

Hi @hv_btm ,

 

Where are you running this command?

I mean, is this a windows command prompt?

hv_btmAuthor
New Participant
June 2, 2023

yes @iamnjain 

iamnjain
iamnjainAccepted solution
New Participant
June 2, 2023

Okay! then error is correct only, as grep is not windows command. You can use alternative for the same on windows CMD.

I think findstr is the alternative for the same. 

Can you please try with that?

 

Hope it helps!