Results 1 to 5 of 5

Thread: ls won't list - starting with "Projects" folder

  1. #1
    Join Date
    Dec 2018
    Beans
    26

    ls won't list - starting with "Projects" folder

    I am trying to access a folder to execute "make" in it.

    I can list the folders under "DOC_COPY_LABEL , including "Projects" just fine.

    however this fails

    z@z-desktop:/media/z/DOC_COPY_LABEL$ cd Projects



    I have no problem using application "Files" - it list desired folder contents just fine.

    What is going on?
    Do I have some nonpritable character(s) in "Projects" folder ?
    ( I did checked spelling etc. )
    Can I run "make" in desired folder using other then terminal ?

    I can copy properties ( path) of desired folder into terminal ( ls path...) and it still fails.


    Only "Projects" folder is failing this way.


    Code:
    z@z-desktop:~$ cd /media/z
    
    z@z-desktop:/media/z$ ls
    0822C8912019FFC8  DOC_COPY_LABEL  MISC_COPY        Programs
    Alternate downlo  DOCMD0          MISC_COPY_LABEL  REsume
    BACK              Eclipse         OpenCameraB      WorkspaceRaspber
    BACK_COPY_LABEL   EOS_DIGITAL     Photo Album
    DEV_COPY_LABEL    Ex Drive Co     Photo Album1
    
    z@z-desktop:/media/z$ cd DOC_COPY_LABEL
    
    z@z-desktop:/media/z/DOC_COPY_LABEL$ ls
    Bell_Tower.odt            NanoVNA                   SPITFT.odt
    Bluetooth                 NanoVNA_Q                 TODO_710_BACKUP.odt
    Bluetooth.odt             New (DEV_COPY) Documents  TODO_710.odt
    BT_VNA.odt                OneTouch                  TODO_911_1.odt
    Documents                 OpenGL.odt                TODO_911.odt
    eclipse-workspace         Projects                  TODO.odt
    eclipse-workspace_BACKUP  Projects_COPY             Transistor
    IOCTL.odt                 Python                    Transistor.odt
    JS8Call                   RegenenRX                 Video
    lost+found                RX.odt
    LTSpice                   SPITFT_COPY.odt
    
    z@z-desktop:/media/z/DOC_COPY_LABEL$ cd Projects
    bash: cd: Projects: No such file or directory
    
    z@z-desktop:/media/z/DOC_COPY_LABEL$ cd Projects
    bash: cd: Projects: No such file or directory
    Last edited by uRock; 1 Week Ago at 12:12 AM. Reason: [code][/code] tags added

  2. #2
    Join Date
    Feb 2010
    Location
    South of the Maple Trees
    Beans
    Hidden!
    Distro
    Xubuntu 18.04 Bionic Beaver

    Re: ls won't list - starting with "Projects" folder

    You have two folders starting with the name Projects.

    Try this,
    Code:
    cd Projects/

  3. #3
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    13,397
    Distro
    Xubuntu 18.04 Bionic Beaver

    Re: ls won't list - starting with "Projects" folder

    anneranch; Hello -

    It appears to me that the target "Projects" is not in the view of the '(P)resent )W)orking (D)irectory'.

    What shows:
    Code:
     
    sudo find / -iname Projects -type d
    where we establish the path to that target.

    there is that "path" that seems right, but ....
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  4. #4
    Join Date
    Feb 2010
    Location
    South of the Maple Trees
    Beans
    Hidden!
    Distro
    Xubuntu 18.04 Bionic Beaver

    Re: ls won't list - starting with "Projects" folder

    It's there, bash just needs more input due to the matching folder names. I have multiple Desktop folders in the drive below, but only one that is just Desktop, which causes this;
    Code:
    uRock@OxfordComma:~$ cd /media/uRock/Old\ Home/Dekstop
    bash: cd: /media/uRock/Old Home/Dekstop: No such file or directory
    uRock@OxfordComma:~$ cd /media/uRock/Old\ Home/Desktop/
    uRock@OxfordComma:/media/uRock/Old Home/Desktop$

  5. #5
    Join Date
    Dec 2018
    Beans
    26

    Re: ls won't list - starting with "Projects" folder

    SOLVED
    used ls -b to identify non printing character "\"
    and just guessed and added space after

Bookmarks

Posting Permissions

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