Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

If I'm trying to access a file using gedit, how can I reach this file if there are spaces in the name? Right now typing the file name creates separate files, one for each word in the name

share|improve this question
2  
Have you tried using tab complete? Just hit the tab key after typing part of the filename –  Chris Harris Jun 25 '12 at 14:57
add comment

2 Answers

Surround the filename with double-quote (") characters. For example:

gedit "my resume"
share|improve this answer
add comment

Either surround it with quotes as Fran suggested or use a backslash to escape spaces in filenames and directories:

$ gedit /path\ to/text\ file.txt
# opens /path to/text file.txt
share|improve this answer
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.