PDA

Bekijk de volledige versie : How to delete a file using putty?



Rasmuskarlsen
23-07-2006, 11:58
Hey...

I want to delete a file on my router eks. smb.conf. It's totally messed up. and i want to start all over. How can i dele a file, which command to use?

500gx
23-07-2006, 18:24
Connect using putty (http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe) and login with your username and password.
Browse to the directory where the file is located and delete the file using the command 'rm'



~# cd /etc
/etc#rm smb.conf


This is really basic stuff. Have a look here: http://www.ee.surrey.ac.uk/Teaching/Unix/unix1.html

Rasmuskarlsen
23-07-2006, 20:19
Okay thanks alot... now i will continue with user rights.... anybody who knows anything about this? assigning folders to be writeable and so on?

LeperKing
23-07-2006, 22:19
http://www.ee.surrey.ac.uk/Teaching/Unix/unix5.html