Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-09-2006, 06:23 PM   #1
LQ Newbie
Registered: Dec 2005
Distribution: MEPIS
Posts: 14

Rep: Reputation: 0
Compensating for spaces

There are critical system files on Windows that I can't change the name of that I want to access on linux. I need to know how to compensate for spaces in Windows file names when trying to access them through the bash shell.
Old 01-09-2006, 06:29 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
Use your friend, the quote ("). For example, nano "this windows text file.txt".
Old 01-10-2006, 05:33 AM   #3
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451

Rep: Reputation: 37
Or its mate, the backslash:
nano this\ windows\ text\ file.txt
Together with tab-completion. Just hit the tab when you have typed the first characters of the file and happiness will ensue!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ls and filenames with spaces rose_bud4201 Programming 10 07-01-2005 08:28 AM
Is it possible to remove spaces Alex_jacobson Linux - General 4 01-16-2005 10:45 AM
Way to many spaces LuderForChrist Linux - Newbie 4 06-25-2004 02:29 PM
spaces WindowsDefector Linux - Newbie 2 05-23-2002 02:03 AM
spaces in filenames ebone Linux - General 2 11-12-2001 11:56 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration