2

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

1
  • 2
    Have you tried using tab complete? Just hit the tab key after typing part of the filename
    – Ci3
    Jun 25, 2012 at 14:57

2 Answers 2

4

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

gedit "my resume"
0

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .