• 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

5.00 star(s)

scooby

Contractor Among Contractors
Joined
Jun 15, 2007
Messages
1,502
Likes received
3
Thanks received
3
Location
Up North
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
 
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.
 
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: 12:27
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 think he means you should manually type

./abd


and not just type

abd

as you seem to say you have done in your post
 
And the first time around you were typing abd instead of adb.
 
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 ;)
 
Yes, The "./" bit means "look in the current directory".
 
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!!!

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. :happy
 

Advertisers

Back
Top