Find the answer to your Linux question:
Results 1 to 6 of 6
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Problems accessing a folder

    Hey Guys,

    Brand spanking new linux user here

    I'm having problems accessing a folder through terminal, when i type ls i can see 2 folders, one of which i would like to access, but when i type cd *folder name* it tells me the folder doesnt exist o.O i can access it through dolphin fine so what am i doing wrong? I need to access through terminal so i can punch in some commands Also, i noticed before on dolphin there was an option to open a terminal at a specific folder location (the right click contect menu) thats also not there anymore either :S

    Im using Ubuntu / KDE 4

    any help appreciated

  2. #2
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    can you post the output of
    ls -l
    and indicate which folder you want to access

  3. #3
    hello, yes here it is

    mew1980@Trident:~/Downloads/vmware-unlocker-mac-os-x-guest$ ls -l
    total 20
    -rwxrwxrwx 1 mew1980 mew1980 131 Jan 31 2012 Quick Guide - Make Sure You Know What To Do!.url
    drwxrwxrwx 6 mew1980 mew1980 4096 Jan 31 2012 VMware 7.1.x Series
    drwxrwxr-x 7 mew1980 mew1980 4096 Feb 22 2012 VMware 8.x Series

    i want to access the vmware 7.1.x folder but this happens when i do:

    mew1980@Trident:~/Downloads/vmware-unlocker-mac-os-x-guest$ cd VMware 7.1.x Series
    bash: cd: VMware: No such file or directory

  4. $spacer_open
  5. #4
    SuperMod (Back again) devils casper's Avatar
    Join Date
    Jun 2006
    Chandigarh, India
    There is a space in folder name. Use \ before space.
    cd vmware\ 7.1.x
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #5
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    as devils casper indicated you need to use \ before spaces ...
    cd VMware\ 7.1.x\ Series

  7. #6
    Space is a special character for (BASH) shell, which needs to be escaped. So from terminal, you need to provide the following command:

    $ cd VMware\ 7.1.x\ Series
    And you can also use <tab> key for auto completion. Just type:

    $ cd VM <tab>
    Hitting tab will complete till

    $ cd VMware\
    Now hit 7 and then tab again. BASH will automatically complete the directory name for you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts