What Is the Bourne Shell?
This section provides a quick introduction of the Bourne shell which is the default shell on the Android system, which is based on the Linux system, which is based on Unix system.
The Bourne shell is a Unix shell introduced by Stephen Bourne in 1977.
The Bourne shell replaced the Thompson shell and became the default shell of Unix systems.
Bourne shell is also the default shell for the Android system, which is based on the Linux system,
which is based on the Unix system.
The Bourne shell is a command-line interpreter that provides a traditional user interface
for the Unix-based operating systems. Users direct the operation of the computer by entering
commands as text for a command line interpreter to execute or by creating text scripts of
one or more such commands.
The Bourne shell has the following main features:
- Built-in Commands - The ability to use a few useful commands built into the shell.
- Command Path Variable - The ability to define a list of paths where the shell can search for external program to execute.
- Command Substitution - The ability to execute extra commands in sub shells and uses their output in the command line.
- Filename Substitution - The ability to expand filename wildcard characters with real file names.
- Input and Output Redirection - The ability to change standard input and/or output from terminal console to files.
- Job Control - The ability to suspend an interactive job and resume it at a later time, or send it into the "background".
- Execution Control Commands - The ability to execute commands conditionally and repeatedly.
- Execution Pipes - The ability to pipe output of one command into another command as input.
- Quotation and Escape Sequences - The ability to protect special characters with single quotes and backslashes.
- Shell Scripts - The ability to write shell scripts with execution flow control and variables.
- Signal Handling - The ability to trap interruption signals (errors).
- Variable Substitution - The ability to reference values of built-in and user defined shell variables.
Last update: 2015.
Table of Contents
About This Book
Installing JDK 1.8 on Windows System
Installation of Android SDK R24 and Emulator
Installing Apache Ant 1.9 on Windows System
Developing First Android Application - HelloAndroid
Android Application Package (APK) Files
Android Debug Bridge (adb) Tool
Android File Systems
Android 4.0.3 File Systems
AboutAndroid - Application to Retrieve System Information
android.app.Activity Class and Activity Lifecycle
View Objects and Layout Resource Files
Using "adb logcat" Command for Debugging
Build Process and Package File Content
Building Your Own Web Browser
►Android Command Line Shell
►What Is the Bourne Shell?
Bourne Shell Command Line Examples
Unix/Linux Command Line Programs
Android Command Line Tools
"dalvikvm" Command to Run Java Application
Samsung Galaxy Tab 3 Mini Tablet
USB Debugging Applications on Samsung Tablet
Android Tablet - LG-V905R
USB Debugging Applications on LG-V905R Tablet
Android Phone - LG-P925g
USB Debugging Applications on LG-P925g Phone
PDF Printing Version