Thread: Not able to access directory of home folder

  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    113

    Not able to access directory of home folder

    Hi,

    I am trap in a strange problem........

    Today when I log in to my PC I was not able to access my home folder directory .

    My home folder is :
    Code:
    /home/bargi
    When I run command :
    Code:
    cd /home/bargi
    It show me :
    Code:
    bargi@bargi-desktop:~$ cd /home/bargi
    bargi@bargi-desktop:~$
    when I run ls command it show me my home folder content........

    when I try to switch to directory :

    Code:
    cd /home/bargi/Test
    It give me error :
    Code:
    bash: cd: Test: No such file or directory
    This occurs only when I cd Test....rest of directory are easily accessible.

    Last night I have created a C++ project in Test folder.

    Also when I run command :

    Code:
    sudo -s
    And login as root and run ls command ,it is showing the content of /home/bargi folder.....

    Why this is happening ????

    Is this is due to that I have created that C++ project ?????

    Please help me

    Thanks

  2. #2
    Registered User
    Join Date
    Jan 2007
    Posts
    113

    Re

    Hey I solve the problem........

    The problem was due to the space ......... Actually I have given a single space after naming

    "Test(Space) ".......When I remove this space it runs.............

    But I am confused that in linux it should show me Test folder like this :

    Code:
    cd Test\ /
    If there is space in name. ............????????

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Clean Windows Temp folder and the User Temp folder?
    By patrick22 in forum Windows Programming
    Replies: 11
    Last Post: 01-27-2008, 04:29 PM
  2. Home Directory
    By codez in forum C Programming
    Replies: 2
    Last Post: 01-07-2006, 01:45 PM
  3. getting the home directory
    By BianConiglio in forum C Programming
    Replies: 2
    Last Post: 10-17-2005, 07:14 AM
  4. PHP CVS System?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 08-24-2004, 05:29 PM
  5. changing drive letter gaining access to a network
    By zornedge in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 11-29-2001, 10:57 AM