Invalid Command for Bash?

Learning Challenge:
Get to know your computer

Question:
In the “Working in Files and Directories”, there’s the part where you create notes.txt. The command given is “code notes.txt.” However, Bash returns an error saying that “Command ‘code’ not found, did you mean: …”. I think the instructions have a faulty command given, unless I’m missing something. The command ‘touch’ works however.

Edit: touch works for creating the file, but doesn’t load VS code

What I’ve tried:
touch notes.txt.

Screen shots:
image

Hi, @branperr! You should be able to follow this guide to get the code command working on Windows.

Let me know if that works for you! :+1:

2 Likes

@bryanray Thank you!

1 Like