How do I create a file?

25,756

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
Share:
25,756
Shira
Author by

Shira

Updated on September 17, 2022

Comments

  • Shira
    Shira over 1 year

    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.

  • Shira
    Shira about 13 years
    gedit is for editing an existing file- how do i create new file?
  • Shira
    Shira about 13 years
    Hi - i've tried it- & got an error message- "couldn't find the file /etc/xinetd.d/tftp please check that you typed the location correctly and try again"- what do i need to do?