with Putty the command /etc/apt/sources.list tells me permission denied how should I do?
/etc/apt/sources.listis not a command but a file. So I assume you mean
- To edit the file you need superuser rights so you need the command
sudo nano /etc/apt/sources.list
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.