Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've tried

gksudo gedit /etc/xinetd.d/tftp

(This is the file I have to create)

I 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?

share|improve this question
up vote 1 down vote accepted

In larger context: what you want to do?

In answer to question: most probably you are missing directory /etc/xinetd.d. Try installing xinetd first (sudo apt-get install xinetd).

share|improve this answer

Check whether you have tftp installed, run in a terminal:


If it is not installed, install it:

sudo apt-get install tftp

Then, you can edit /etc/xinetd.d/tftp

share|improve this answer
Wrong package, tftp contents: – Olli Feb 27 '11 at 13:26

I think this file is missing or directory.Have you installed this package and checked whether this file is present?

If not, just create a file at this location and then try editing it.

sudo touch /etc/xinetd.d/tftp
gksu gedit  /etc/xinetd.d/tftp
share|improve this answer
gedit (as well as ~every other editor in linux) automatically creates files. You don't have to touch it first. However, neither gedit or touch will create folders. If you want to be sure, you have to run mkdir /etc/xinetd.d -p && touch /etc/xinetd.d/tftp to create it. (-p creates recursively and do not throw error if folder already exists). – Olli Feb 27 '11 at 14:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.