Expand my Community achievements bar.

SOLVED

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

Avatar

Level 2

'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?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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!

View solution in original post

3 Replies

Avatar

Community Advisor

Hi @hv_btm ,

 

Where are you running this command?

I mean, is this a windows command prompt?

Avatar

Correct answer by
Community Advisor

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!