Fedora Linux Support Community & Resources Center
  #1  
Old 2nd November 2010, 01:35 PM
Linux Nut Offline
Registered User
 
Join Date: Aug 2010
Posts: 72
linuxfedorafirefox
Spaces

Hi, I just wanted to know how to open a file with blank spaces in between. Like "good day to you.txt"?

What symbols do I need to go in between the words?
Reply With Quote
  #2  
Old 2nd November 2010, 01:39 PM
CronoCloud Offline
Registered User
 
Join Date: May 2010
Location: Midwest USA
Posts: 452
linuxfedorafirefox
Re: Spaces

You have to escape the spaces with "\"

so it would be, using less as an example:

Code:
less good\ day\ to\ you\.txt
or you can enclose the name with spaces in quotes.

Ron Rogers Jr. (CronoCloud)
Reply With Quote
  #3  
Old 2nd November 2010, 01:40 PM
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Age: 57
Posts: 14,866
windows_xp_2003firefox
Re: Spaces

Try using tab completion. For example
Code:
nano goo<tab>
Hitting the tab key should complete the file name for you. Then just press enter.
__________________
Glenn
The Bassinator © ®

[SIGPIC][/SIGPIC]
Laptop: Just a couple of old single core units
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / Kingston HyperX 3K SSD 240GB SATA 3.0 / 1TB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #4  
Old 2nd November 2010, 02:20 PM
Linux Nut Offline
Registered User
 
Join Date: Aug 2010
Posts: 72
linuxfedorafirefox
Re: Spaces

Just what I needed! Thnx Guys!
Reply With Quote
  #5  
Old 25th November 2010, 06:11 PM
muhammad ejaz Offline
Registered User
 
Join Date: Nov 2010
Posts: 2
windows_xp_2003chrome
Re: Spaces

hi any one can tell me that how i can change the color of directory in linux operating system by using c command in command line inter face
Reply With Quote
  #6  
Old 29th November 2010, 08:59 PM
alwinl Offline
Registered User
 
Join Date: Sep 2009
Location: Northland, New Zealand
Posts: 26
linuxfedorafirefox
Re: Spaces

Quote:
Originally Posted by muhammad ejaz View Post
hi any one can tell me that how i can change the color of directory in linux operating system by using c command in command line inter face
You will have to provide a lot more information in order to get a sensible answer.
Let's start from the end:
"command line inter face": What command line interface, I assume you mean a terminal window. If this is the case, which shell are you using (sh, bash, csh, ksh, zsh etc...). How to configure each shell is different.
"by using c command": Sorry but I do not know the "c" command. Do you mean a C program which can run in a terminal?
"linux operating system": Popular misconception by Windows users. Linux is the name of the kernel, distributions pack the kernel and application programs in a convenient package for easy installation by users. In order to respond to questions of a new Linux entrant, the name of the distribution is of importance.
"the color of directory": what do you actually mean, do you want to change the foreground/background colour of the text of a directory listing, Do you want to change the foreground/background colour of the directory entries in a listing. Are you looking for a CLI command to change the colour of say a Nautilus window

So to roughly translate your query into "Windows" your question becomes:
hi any one can tell me that how i can change the color of directory in KERNEL.EXE operating system by using foo command in a window.

Alwin
Reply With Quote
  #7  
Old 30th November 2010, 07:08 AM
Jamwa Offline
Registered User
 
Join Date: Jan 2008
Location: Nairobi Kenya
Posts: 561
windows_xp_2003chrome
Re: Spaces

Alternatively enclose it in quotes
Code:
less "good day to you.txt"
Reply With Quote
Reply

Tags
spaces

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Switching between work spaces poratnir Using Fedora 8 19th January 2009 09:58 PM
RPM/Yum: Spaces in Repo Name hellork Using Fedora 5 9th December 2007 06:13 AM
spaces in output command festhead Using Fedora 3 7th August 2007 09:59 PM
Replacing spaces with non-printables in C. Flounder Programming & Packaging 6 13th September 2006 02:19 AM


Current GMT-time: 12:21 (Saturday, 20-12-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
...Creek Side - Stockholm-Arlanda Airport (ARN) Travel Photos on Instagram - Marina of Koper Travel Photos - Te Whiti Park Instagram Photos - Texas State Fair Photos on Instagram