Learn Bash and SQL by Building a Bike Rental Shop

I tried this command : sed -i -e ‘s/“.freeCodeCamp”: true,/“.freeCodeCamp”: false,/g’ ~/project/.vscode/settings.json
but it gave me this error : sed: can’t read /home/gitpod/project/.vscode/settings.json: No such file or directory

The question was: The variable will be t or empty. Below the if not available comment, add an if condition that checks if it’s empty. Put the send to main menu comment in it’s statements area.

what do i do guys please help me

do you need the settings file right now?

you need to change the file, which doesn’t look like you have open

yes, I do need the settings file right now. Please tell me how I can get it because I am new to all of this.

what do you need to do with the settings?

I tried what this person said to do

and the process it still giving me an error even though I am writing the code it needs me to write. Check the link and you will understand

that’s quite old suggestion, for the old environment, it’s probably why it doesn’t work
you may need to create the file first

but the settings are at Menu->File->Preferences->Settings

Yes, I did that. Then what should I do?

what is “that”? I don’t know what you did

I apologize, it was my fault. I just had to do it, as it shows in the screenshot i sent you.

Thank you for trying to help me

I don’t think you can use that command, as that is a search and replace in the settings, and if the settings don’t exist, it doesn’t work

Yes that’s what it was telling me, but it I did not have to deal with that, I just needed to tweak the code I circled in the screenshot

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.