Search code examples
androidlinuxubuntuexecutewhatsapp

How do I execute a shell file?


I'm trying to download Whatsapp on my laptop. I am using Ubuntu desktop software. I've installed Android Emulator from http://dl.google.com/android/android-sdk_r16-linux.tgz I unzipped the file, opened the folder, Android-sdk-linux, opened Tools and now I'm supposed to execute the file Android, and I'm not sure how to do that. Can anyone give me any help?

Ok, so this is what I thought I was supposed to do: shell@shell:~$ cd Desktop shell@shell:~/Desktop$ ./android.sh bash: ./android.sh: No such file or directory

but then that happens...


Solution

  • Make the file executable first with

    chmod +x filename.sh
    

    Then start the script with

    ./filename.sh
    

    or

    /full/path/to/filename.sh