Bash, Bourne Again SHell, a pun from the Bourne Shell which was the usual shell from Unix. Or at least so says Wikipedia, the source that knows all. Before returning to phonegap I reviewed an
UNIX tutorial, to happily find familiar commands (ls, cd) and new concepts such being able to review the rights and running processes.
- My commonly used commands that this tutorial skipped
- $ which : which is looked down on for its inconsistent outputs
- $ open -e file : though I think once I set up the subl binary i'll prefer it
- Important lesson learned
- .profile is best to store environment variables as it is consistent across most platforms, a bash will read .bash_profile first so its best to populate it with a path to the .profile file. I found this superuser forum useful.
- Favorite concept
- the bin is filled with most of the systems commands or programs, also known as binaries, these are precompiled binary code
After all the UNIX excitement I returned to my phonegap project. What took me days before was completed in a few hours.
- Recommendations prep before starting phonegap project
- Familiarize yourself with your shell, where your files are and where you want them to be
- Beforehand Install/Setup: java, node, Android Studio* (not just the tools), cordova, phonegap, ant, avd, $PATH, $ANDROID_HOME
- Download the phonegap app and $ phonegap serve your app out easily for testing purposes
No comments:
Post a Comment