Permission Denied when trying to append text to a repo file

Hi Team,

When i’m trying to add content to mongodb repo file, it is throwing Permission denied error.

Before trying to install mongodb using YUM command.

Hello @itspraveenlanka
Can you please share the lab URL?


Try this

sudo bash -c "cat > mongodb.repo"