Help with Putty

with Putty the command /etc/apt/sources.list tells me permission denied how should I do?

Well:

  1. /etc/apt/sources.list is not a command but a file. So I assume you mean nano /etc/apt/sources.list
  2. To edit the file you need superuser rights so you need the command sudo nano /etc/apt/sources.list
1 Like

How do you save and exit the putty commands with windows 10?

Do you mean how to save and exit file in nano editor? You press ctrl+x, nano shows you some basic commands on the bottom of the screen.

And to exit ssh session in putty you simply type exit.