How do I create a file?

I'm following instructions about Installing and setting TFTPD in Ubuntu. It asks to

Create /etc/xinetd.d/tftp and put this entry:

service tftp
{
protocol        = udp
port            = 69
socket_type     = dgram
wait            = yes
user            = nobody
server          = /usr/sbin/in.tftpd
server_args     = /tftpboot
disable         = no
}

What does it mean to create? Is there any command I need to type? And "put this entry" - it means to type in one line all the lines above? I don't know Linux & I need your help please.


Solution 1:

You need to create a (text) file with the given path (/etc/xinetd.d/tftp).

To do so:

  1. Press Alt + F2 to open the Run Application dialog
  2. Type gksu gedit /etc/xinetd.d/tftp and click on Run
  3. Now type your password and the text editor gedit should start, with the new (empty) file already opened
  4. Finally, copy and paste the lines from the guide to the new file and save it