Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

3 Answers 3

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
add comment

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

tftp

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: packages.ubuntu.com/maverick/amd64/tftp/filelist –  Olli Feb 27 '11 at 13:26
add comment

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
add comment

Your Answer

 
discard

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.