LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-09-2006, 06:23 PM   #1
cerin
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
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

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

Rep: Reputation: 38
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!
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:54 AM.

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