Results 1 to 7 of 7

Thread: can't change the directory in the terminal

  1. #1
    Join Date
    Feb 2014
    Beans
    1

    can't change the directory in the terminal

    I have been a Windows user all my life. I just switched to Ubuntu 13.10 (Saucy Salamander) on one of my laptops. It's neat and all, but I'm having difficulty with the terminal.

    I am trying to install Komodo Edit, but I don't understand it. I'm using this site "http://docs.activestate.com/komodo/7.0/install.html#Installing_Komodo_on_Linux" the terminal will not let me change my directory.

    I have the Komodo Edit file in Home/Downloads/KEEP/applications/Komodo Edit. Whenever I try to cd to anywhere besides home it says 'no such file or directory'.

    That is my current problem, but I also barely understand the terminal, as well as how to download/install applications using ppa. Any help is greatly appreciated.

  2. #2
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: New Ubuntu user, and I can't change the directory in the terminal

    Linux is case senstive. Are you using tab completion when typing the directory names?

    The download should be in /home/USER/Downloads/etc/etc/etc/

    cd ~/Downloads/KEEP/applications/Komodo <tab>

    Should get you to the right directory.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  3. #3
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    4,730
    Distro
    Ubuntu

    Re: New Ubuntu user, and I can't change the directory in the terminal

    What's the command you are trying to change directories with?
    By default you should open a terminal in your home folder
    /home/username(it will be marked witha ~ symbol.
    You can find out where you are with
    Code:
    pwd
    If you want to change into the Downloads folder, then
    Code:
    cd Downloads
    Capital and small letters are important.

    If the folder is somewhere else then used the full path
    Code:
    cd /home/otherguysfolder/Downloads
    If using the full path make sure the / symbol is at the front.
    The / symbol is file system(or root)
    home is inside root and the user's folder inside home and Downloads inside the user's folder, and etc,etc.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  4. #4
    Join Date
    Dec 2005
    Location
    Western Australia
    Beans
    11,479
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: New Ubuntu user, and I can't change the directory in the terminal

    Just because it's a terminal, doesn't mean you have to type everything

    Type the letters "cd", press the spacebar, and then drag the desired folder to the terminal. (it will fill in the whole path of the folder). Click on the terminal again to bring it back to the front and hit Enter.
    I try to treat the cause, not the symptom. I avoid the terminal in instructions, unless it's easier or necessary. My instructions will work within the Ubuntu system, instead of breaking or subverting it. Those are the three guarantees to the helpee.

  5. #5
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: New Ubuntu user, and I can't change the directory in the terminal

    Quote Originally Posted by 3rdalbum View Post
    Just because it's a terminal, doesn't mean you have to type everything

    Type the letters "cd", press the spacebar, and then drag the desired folder to the terminal. (it will fill in the whole path of the folder). Click on the terminal again to bring it back to the front and hit Enter.
    Wow, I had totally forgotten about that. I guess I use SSH too much.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  6. #6
    Join Date
    Mar 2013
    Beans
    23

    Re: can't change the directory in the terminal

    Maybe this will help you regarding the ppa
    http://askubuntu.com/questions/4983/...-do-i-use-them

  7. #7
    Join Date
    Mar 2007
    Location
    Calhoun, GA USA
    Beans
    146
    Distro
    Xubuntu

    Re: can't change the directory in the terminal

    So, the directory you want to change to is "/home/<Username>/Downloads/KEEP/applications/Komodo Edit" Including the space?
    Terminals have a habit of stopping when they come to a space. It's a classic end at a "location not found" message.

    You'll have to put your end location in quotations.
    Like so:
    cd "/home/user/example/subdirectory/program/program edit"
    And, isn't sanity really just a one-trick pony anyway? I mean, all you get is one trick: "rational thinking."
    But, when you're good and crazy? Oooh! Oooh! Oooh! The sky is the limit!

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
  •