Skip to main content
Level 2
Mar 25, 2022 12:07 AM UTC
Solved

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

'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.
iamnjain
iamnjainAccepted solution
New Participant
Jun 2, 2023 12:31 PM UTC

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!

3 replies

iamnjain
New Participant
Jun 2, 2023 6:52 AM UTC

Hi @hv_btm ,

 

Where are you running this command?

I mean, is this a windows command prompt?

Translate
hv_btmAuthor
Level 2
Jun 2, 2023 12:28 PM UTC

yes @iamnjain 

Translate
iamnjain
iamnjainAccepted solution
New Participant
Jun 2, 2023 12:31 PM UTC

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!

Translate