Hello Kailas E K,
Thanks for your question.
Your user account in Cloud Shell is an unprivileged account. You can't use sudo
or run any command that requires elevated permissions.
This documented here:
I want to install a tool in Cloud Shell that requires sudo. Is that possible?
Regards,
Abiola
You can mark it 'Accept Answer' and upvote if this helped.