Configuration/Setup of App on Terminal

I’m new to terminal, so what do I have to write to get into src/app/app.module.ts and edit the code based on this link I tried cd, but it said that permission was denied.

You don’t use the terminal to edit your source files. You use your favorite text editor or IDE for that.