Page 1 of 3 123 LastLast
Results 1 to 10 of 28

Thread: no directory in terminal?

  1. #1
    Join Date
    Nov 2010
    Beans
    50

    no directory in terminal?

    in terminal no directorys exist!
    whats happening?
    specifically trying to navigate to my desktop
    Last edited by totallynew; November 22nd, 2010 at 06:44 PM.

  2. #2
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,573
    Distro
    Ubuntu

    Re: no directory in terminal?

    What do you mean no directory exists?

    Code:
    cd ~/Desktop
    Make sure you uae a capital D, linux is case sensitive.

  3. #3
    Join Date
    Dec 2009
    Location
    Southern Maryland
    Beans
    1,575
    Distro
    Ubuntu

    Re: no directory in terminal?

    +1 and be cautious because some folders are lower case while others are capitals. You'll see it if you navigate through the file browser.

  4. #4
    Join Date
    Aug 2009
    Location
    India
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: no directory in terminal?

    Type
    Code:
    cd Desktop
    to move to Desktop and ls command will show you all the directory's and files which are in the Desktop
    Code:
    ls
    Last edited by karthick87; November 22nd, 2010 at 07:54 PM.

  5. #5
    Join Date
    Aug 2007
    Location
    Manchester, UK
    Beans
    10,285
    Distro
    Ubuntu

    Re: no directory in terminal?

    Quote Originally Posted by karthick87 View Post
    Type
    Code:
    cd Desktop
    to move to Desktop and ls command will show you all the directory's and files which are in the Desktop
    Code:
    ls
    That assumes you are in your home directory - which is opened by default, yes - but you can't guarantee this on a forum, so
    Code:
    cd ~/Desktop
    as suggested above is the better choice in this case

  6. #6
    Join Date
    Aug 2009
    Location
    India
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: no directory in terminal?

    Thanks for reminding me Joeb454

  7. #7
    Join Date
    Nov 2010
    Beans
    50

    Re: no directory in terminal?

    cd desktop = no file or directory exists

  8. #8
    Join Date
    Nov 2008
    Location
    Colorado, United States
    Beans
    266
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: no directory in terminal?

    Quote Originally Posted by totallynew View Post
    in terminal no directorys exist!
    whats happening?
    specifically trying to navigate to my desktop
    This reminds me of when I was trying to use the Windows command line and nothing existed.

    Quote Originally Posted by Joeb454 View Post
    That assumes you are in your home directory - which is opened by default, yes - but you can't guarantee this on a forum, so
    Code:
    cd ~/Desktop
    as suggested above is the better choice in this case
    To see what directory you are in you can always use
    Code:
    pwd
    if you are uncertain.

  9. #9
    Join Date
    Nov 2008
    Location
    Colorado, United States
    Beans
    266
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: no directory in terminal?

    Quote Originally Posted by totallynew View Post
    cd desktop = no file or directory exists
    You need to capitalize 'Desktop'. Like mentioned above, file names are case sensitive.

  10. #10
    Join Date
    Nov 2010
    Beans
    50

    Re: no directory in terminal?

    Quote Originally Posted by Bradj47 View Post
    You need to capitalize 'Desktop'. Like mentioned above, file names are case sensitive.
    cd /Desktop = bash no such file or directory

Page 1 of 3 123 LastLast

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
  •