• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Mac Terminal help

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Mac Terminal help

    Guys, what am i doing wrong? am at step 6, terminal open, but when i enter the commands, it says

    Scoobys-MacBook-Prolatform-tools Scooby$ abd
    -bash: abd: command not found
    But i can see the file:

    Scooby$ ls
    NOTICE.txt hboot-eng.img
    aapt lib
    adb
    Walkthrough and guide here (all steps done and installed etc): http://wiki.cyanogenmod.com/wiki/HTC_Desire_Z:_Rooting#Downgrade_to_an_exploitable_ Firmware

    Am i being stupid??
    I didn't say it was your ******* fault, I said I was blaming you!

    #2
    Mac Terminal help

    Looks like typo?

    File is adb
    you are typing abd?

    If this is just a typo on your message here - then try ./adb

    Comment


      #3
      also, have just enabled root, but even typing "abd" in terminal, it returns a:

      sh-3.2# ls
      NOTICE.txt hboot-eng.img
      aapt lib
      adb llvm-rs-cc
      aidl psneuter
      api recovery-clockwork-3.0.2.4-vision.img
      busybox renderscript
      dexdump root_psn
      dx source.properties
      fastboot su-2.3.6.2-efgh
      gfree_07
      sh-3.2# adb
      sh: adb: command not found
      sh-3.2#
      If you double click it from finder, it runs and opens a terminal which is closed after the process has completed.
      I didn't say it was your ******* fault, I said I was blaming you!

      Comment


        #4
        In terminal:

        Code:
        ./adb
        (that's dot - slash - adb)

        This is because your current directory isn't in your path, and that's probably how you want to keep it for development work.
        Last edited by Sysman; 8 May 2012, 11:31.
        Behold the warranty -- the bold print giveth and the fine print taketh away.

        Comment


          #5
          Originally posted by Sysman View Post
          In terminal:

          Code:
          ./adb
          (that's dot - slash - adb)

          This is because your current directory isn't in your path, and that's probably how you want to keep it for development work.
          Not sure what you mean mate? it's a manually typed command, not a script. (sorry, new to the Mac terminal...)

          corrected link: HTC Desire Z: Rooting - CyanogenMod Wiki
          I didn't say it was your ******* fault, I said I was blaming you!

          Comment


            #6
            I think he means you should manually type

            ./abd


            and not just type

            abd

            as you seem to say you have done in your post
            The proud owner of 125 Xeno Geek Points

            Comment


              #7
              And the first time around you were typing abd instead of adb.
              Behold the warranty -- the bold print giveth and the fine print taketh away.

              Comment


                #8
                Guys, what am i doing wrong? am at step 6, terminal open, but when i enter the commands, it says

                Scoobys-MacBook-Prolatform-tools Scooby$ abd
                -bash: abd: command not found
                But i can see the file:

                Scooby$ ls
                NOTICE.txt hboot-eng.img
                aapt lib
                adb
                Walkthrough and guide here (all steps done and installed etc): HTC Desire Z: Rooting - CyanogenMod Wiki Firmware

                Am i being stupid??
                Maybe

                Comment


                  #9
                  Yes, The "./" bit means "look in the current directory".
                  Behold the warranty -- the bold print giveth and the fine print taketh away.

                  Comment


                    #10
                    Originally posted by Sysman View Post
                    In terminal:

                    Code:
                    ./adb
                    (that's dot - slash - adb)

                    This is because your current directory isn't in your path, and that's probably how you want to keep it for development work.
                    Legend!!!

                    Originally posted by chef View Post
                    I think he means you should manually type

                    ./abd


                    and not just type

                    abd

                    as you seem to say you have done in your post
                    Am being a little thick!! Thanks both.
                    I didn't say it was your ******* fault, I said I was blaming you!

                    Comment

                    Working...
                    X