Less command for loadMovieDetailsDataset in shell

Hi all! I’m following along with shell instructions for how to load loadMovieDetailsDataset.js. I was able to execute the load command, and can see the movieDetails collection, but I can’t execute the 'less loadMovieDetailsDataset.js" command as shown in the video. I know the shell is supposed to be a js interpreter- is this an issue with my use of Windows? Once the cluster is launched, I see “uncaught exception: SyntaxError: unexpected token: identifier :
@(shell):1:5”. I saw a ‘quit()’ command run, so I also tried that, but my prompt looked different when I did so through Windows Powershell. Does anyone have any ideas? Any help would be appreciated. Thank you!

Show us the screenshot at what point you are getting the syntax error
Most likely you are at mongo prompt if you are seeing different prompt after quit()
Less command is for Unix(not available in Windows)
You can use more to check that file

Thank you for the response, and apologies for my delay. Here is what I see, and this time I did try more, as less is not available on Windows. Please let me know if you have any ideas. Thanks!

You are running the command at mongo prompt
Run it at Windows cmd prompt.It will work

2 Likes

Thank you!