0

I need to edit a xml file in a server. How can I navigate to the path where the file is present in the server and edit it using putty commands. I am new to unix so if anyone could help me out.

Harshit Naik
  • 19
  • 1
  • 2
  • 8
  • 1
    [PuTTY](https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html) is just a SSH client. Apart from establishing a connection to the server and moving the data back and forth, there is nothing it can help you with. What you need is a Linux/Unix tutorial. – axiac Aug 14 '17 at 08:54

1 Answers1

0

To move around in linux you need to use the change directory command which is: cd /location/of/directory/. If you then need to edit a file there are a number of editors which you can use. My preference is VIM which can be used by doing the following vi file.xml. Although VIM is not recommended if you are new to unix. Try using nano filename.xml instead if this makes it easier for you.

If you wish to edit a file directly without having to move to it's directory you can just do: nano /path/to/file.xml

Lewis Browne
  • 904
  • 7
  • 23