Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How do I check as a root if a special path set? This command

sudo echo $ANDROID_SDK_HOME 

will show the path's value for a normal user and not for a root.

share|improve this question
    
Try sudo -i before checking path set –  Mitch May 30 '13 at 6:11
    
@Mitch, exactly sudo -i echo $ANDROID_SDK_HOME ? –  Alan Dert May 30 '13 at 6:12

1 Answer 1

up vote 1 down vote accepted

Step 1:

Open a terminal if necessary with CTRL+ALT+T

Step 2:

logon as root

sudo -i

Step 3:

Check the path

echo $ANDROID_SDK_HOME

Step 4:

If you opened a terminal at step one close it and you are no longer root; otherwise log out as root

exit 
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.