Find the answer to your Linux question:
Results 1 to 7 of 7
suppose that someone has place into your account files from windows like Desktop My documents etc ..... the file my documents doesn't open.Is that why the name of the file ...
  1. #1
    Just Joined!
    Join Date
    Oct 2006
    Posts
    4

    Can't open file?

    suppose that someone has place into your account files from windows like Desktop My documents etc ..... the file my documents doesn't open.Is that why the name of the file has a backspace or not??? and how i could open this directory... when i try it says that isn't a directory


    I am newbie at unix


    Thanks

  2. #2
    Linux Guru smolloy's Avatar
    Join Date
    Apr 2005
    Location
    CA, but from N.Ireland
    Posts
    2,413
    Someone has put a file into your linux space that you would like to open? Is that right?

    What sort of file is it?

    Are you sure you're looking for it in the right place? I.e. where your friend put the file?
    Registered Linux user #388328 || Registered LFS user #15880
    AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
    Need instant help? Try us on IRC -- #linuxforums on freenode

  3. #3
    Just Joined!
    Join Date
    Oct 2006
    Posts
    4
    the file is "My Documents" it is directory. i see the directory i write
    :cd My Documents
    No such file or directory

  4. #4
    Linux Guru smolloy's Avatar
    Join Date
    Apr 2005
    Location
    CA, but from N.Ireland
    Posts
    2,413
    The space between "My" and "Documents" is the problem. Try typing "cd My" and then pressing the TAB button to get it to auto complete.
    Registered Linux user #388328 || Registered LFS user #15880
    AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
    Need instant help? Try us on IRC -- #linuxforums on freenode

  5. #5
    Just Joined!
    Join Date
    Oct 2006
    Posts
    4
    thanks a lot it worked

    I am sorry for my english but it isn't my language

  6. #6
    Linux Guru smolloy's Avatar
    Join Date
    Apr 2005
    Location
    CA, but from N.Ireland
    Posts
    2,413
    Quote Originally Posted by sptiamat
    thanks a lot it worked

    I am sorry for my english but it isn't my language
    No problem at all -- no need to apologise.

    I'm glad I was able to help

    Welcome to the forum!

    EDIT:: By the way, if you rename the file to something with no spaces in it, it will be easier to open next time.
    Registered Linux user #388328 || Registered LFS user #15880
    AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
    Need instant help? Try us on IRC -- #linuxforums on freenode

  7. #7
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366
    or if you decide to keep the spaces use a \ before the space so use the following command

    Code:
    cd My\ Documents
    the \ allows you to use a space, or any other illegal character as part of a file or folder name. This is useful if you are accessing a few folders such as My Documents, My Pictures, &c.

Posting Permissions

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