Results 1 to 5 of 5

Thread: Explain this please. (terminal confusion)

  1. #1

    Explain this please. (terminal confusion) (solved)

    Code:
    buttsex@comp2:~/trip$ mkdir trip
    mkdir: cannot create directory `trip': No such file or directory
    I don't get it. I can't create it because it doesn't exist?
    Last edited by Bu7753x; October 17th, 2009 at 11:34 PM.

  2. #2
    Join Date
    Sep 2009
    Location
    Freiburg/Germany
    Beans
    1,112
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Explain this please. (terminal confusion)

    I guess you deleted ~/trip after you get there. What does
    Code:
    ls ~/trip
    say?
    ClassicMenu Indicator - classic GNOME menu for Unity
    Unsettings - configuration program for the Unity
    Privacy Indicator - easily switch privacy settings in Unity
    Arronax - create and modify app starters

  3. #3

    Re: Explain this please. (terminal confusion)

    Quote Originally Posted by diesch View Post
    I guess you deleted ~/trip after you get there. What does
    Code:
    ls ~/trip
    say?
    Code:
    buttsex@comp2:~$ ls ~/trip
    testing

  4. #4
    Join Date
    Sep 2009
    Location
    Freiburg/Germany
    Beans
    1,112
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Explain this please. (terminal confusion)

    Maybe it has been removed and then created again. Does
    Code:
    cd ../trip
    help?



    Code:
    /tmp/foo$ mkdir test
    /tmp/foo$ cd test
    /tmp/foo/test$ rmdir $PWD
    /tmp/foo/test$ ls ../test
    ls: cannot access ../test: No such file or directory
    /tmp/foo/test$ mkdir bla
    mkdir: cannot create directory `bla': No such file or directory
    /tmp/foo/test$ mkdir ../test
    /tmp/foo/test$ ls ../test
    /tmp/foo/test$ mkdir bla
    mkdir: cannot create directory `bla': No such file or directory
    /tmp/foo/test$ cd ../test
    /tmp/foo/test$ mkdir bla
    /tmp/foo/test$ ls ../test
    bla
    ClassicMenu Indicator - classic GNOME menu for Unity
    Unsettings - configuration program for the Unity
    Privacy Indicator - easily switch privacy settings in Unity
    Arronax - create and modify app starters

  5. #5

    Re: Explain this please. (terminal confusion)

    Quote Originally Posted by diesch View Post
    Maybe it has been removed and then created again. Does
    Code:
    cd ../trip
    help?
    Well that seemed to work. So it got deleted somehow and created again?

    I have no clue how that happened.

Tags for this Thread

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
  •