Putty with windows 10

I’m trying putty with windows 10 inserting $ sudo nano / etc / fstab gives me error:
-bash: s: comm not found

The command should be sudo nano /etc/fstab
You appear to be using far too many spaces.

ok thanks to it worked