Find the answer to your Linux question:
Results 1 to 6 of 6
Is there a command for going up one directory in the terminal so I don't have to retype 90% of the whole thing that I just typed to get there?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie Van Halen Man's Avatar
    Join Date
    Sep 2006
    Location
    N. Canton Ohio
    Posts
    208

    Go up one directory in the terminal?


    Is there a command for going up one directory in the terminal so I don't have to retype 90% of the whole thing that I just typed to get there?

  2. #2
    Linux Engineer valemon's Avatar
    Join Date
    Oct 2006
    Location
    Volos
    Posts
    934
    this must be
    Code:
    cd ..
    Linux is like a Teepee, No Windows, No Gates, Only Apache Inside!
    Arch Linux
    Linux user #442041

  3. #3
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,628
    Do you mean back a directory?
    Code:
    ../
    Linux Mint + IceWM Registered:#371367 New Members: click here

  4. #4
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,672
    Quote Originally Posted by Dapper Dan View Post
    Do you mean back a directory?
    Code:
    ../
    Don't know about this 100%. It doesn't work on my CentOS machine running bash.

    Code:
    cd ..
    Should get you where you want to go.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  5. #5
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,628
    I forgot to include "cd" sorry:
    Code:
    cd ../
    Linux Mint + IceWM Registered:#371367 New Members: click here

  6. #6
    Linux Newbie Van Halen Man's Avatar
    Join Date
    Sep 2006
    Location
    N. Canton Ohio
    Posts
    208
    yes, back a directory is what I should have said. Thanks.

Posting Permissions

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