Find the answer to your Linux question:
Results 1 to 6 of 6
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2012
    Posts
    2

    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
    Posts
    3,043
    can you post the output of
    Code:
    ls -l
    and indicate which folder you want to access

  3. #3
    Just Joined!
    Join Date
    Sep 2012
    Posts
    2
    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
    mew1980@Trident:~/Downloads/vmware-unlocker-mac-os-x-guest$

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    There is a space in folder name. Use \ before space.
    Code:
    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

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

  6. #6
    Just Joined!
    Join Date
    Aug 2012
    Posts
    8
    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
  •