Go Back   Linux Forums by TotalPenguin! Get linux Help! > Linux > Linux General

Linux General Any questions that are not covered by other forums go here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-28-2008, 07:18 PM
Member
 
Join Date: Feb 2008
Posts: 32
Jame is on a distinguished road
Default Linux Accessing directory that is a space

Somehow I have a directory that is just a space. IE:

Code:
/home/ /dir/here/
I can't see it when I do 'ls' or 'ls -la'. I know it is there and can see the contents using an FTP client such as CuteFTP or FireFTP.

How do I access it from terminal? How do I delete it from terminal? How do I keep directories of a space from being created?
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 04-02-2008, 11:18 PM
Tor Tor is offline
Senior Member
 
Join Date: Oct 2007
Posts: 390
Tor is on a distinguished road
Default

That is odd, how do you even create a directory that is a space? Have you tried cd /%20/ being %20 = a space in browsers? or just cd / /?
Reply With Quote
  #3 (permalink)  
Old 04-07-2008, 02:29 AM
Member
 
Join Date: Feb 2008
Posts: 32
Jame is on a distinguished road
Default

I figured it out, by accident.

Code:
cd /home/\ /
I guess you have to escape it.
Reply With Quote
Reply

Tags
directory, space

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add more swap space? Tor Linux Hardware 8 06-21-2008 09:08 PM
Pain-free disk space management with LVM kernel Linux News 0 08-22-2007 08:27 AM
tar entire directory Prog Linux General 3 07-20-2007 06:37 PM
HD Space Left Prog Linux General 2 06-18-2007 11:21 PM
Howto: Find the largest directory/file in a directory ptt3 Linux General 4 05-28-2007 10:08 PM


All times are GMT. The time now is 03:08 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.