MonthSeptember 2011

Amazon-Kindle fire



Technical Details


Display 7″ multi-touch display with IPS (in-plane switching) technology and anti-reflective treatment, 1024 x 600 pixel resolution at 169 ppi, 16 million colors.
Size (in inches) 7.5″ x 4.7″ x 0.45″ (190 mm x 120 mm x 11.4 mm).
Weight 14.6 ounces (413 grams).
System Requirements None, because it’s wireless and doesn’t require a computer.
On-device Storage 8GB internal. That’s enough for 80 apps, plus either 10 movies or 800 songs or 6,000 books.
Cloud Storage Free cloud storage for all Amazon content
Battery Life Up to 8 hours of continuous reading or 7.5 hours of video playback, with wireless off. Battery life will vary based on wireless usage, such as web browsing and downloading content.
Charge Time Fully charges in approximately 4 hours via included U.S. power adapter. Also supports charging from your computer via USB.
Wi-Fi Connectivity Supports public and private Wi-Fi networks or hotspots that use the 802.11b, 802.11g, 802.11n, or 802.1X standard with support for WEP, WPA and WPA2 security using password authentication; does not support connecting to ad-hoc (or peer-to-peer) Wi-Fi networks.
USB Port USB 2.0 (micro-B connector)
Audio 3.5 mm stereo audio jack, top-mounted stereo speakers.
Content Formats Supported Kindle (AZW), TXT, PDF, unprotected MOBI, PRC natively, Audible (Audible Enhanced (AA, AAX)), DOC, DOCX, JPEG, GIF, PNG, BMP, non-DRM AAC, MP3, MIDI, OGG, WAV, MP4, VP8.
Documentation Quick Start Guide(included in box); Kindle User’s Guide (pre-installed on device)
Warranty and Service 1-year limited warranty and service included. Optional 2-year Extended Warrantyavailable for U.S. customers sold separately. Use of Kindle is subject to the terms found here.
Included in the Box Kindle Fire device, U.S. power adapter (supports 100-240V), and Quick Start Guide.


If given condition is true then command1 is executed otherwise command2 is executed.

           if condition
                       condition is zero (true - 0)
                       execute all commands up to else statement

                       if condition is not true then
                       execute all commands up to fi

example of nested if else
echo "1. Unix (Sun Os)"
echo "2. Linux (Red Hat)"
echo -n "Select your os choice [1 or 2]? "
read osch

if [ $osch -eq 1 ] ; then

     echo "You Pick up Unix (Sun Os)"

else #### nested if i.e. if within if ######
       if [ $osch -eq 2 ] ; then
             echo "You Pick up Linux (Red Hat)"
             echo "What you don't like Unix/Linux OS."

if condition

if condition which is used for decision making in shell script, If given condition is true then command1 is executed.

 if condition 
 command1 if condition is true or if exit status of condition is 0 (zero) 


A pipe is a way to connect the output of one program to the input of another program without any temporary file.

command1 | command2

eg: who | wc -l  

Output of who command is given as input to wc command So that it will number of user who logon to system

Pipe - Redirecting output of 1st command to 2nd without creating temporary file

Command line arguements


$ myshell foo bar

 Shell Script name i.e. myshell
 First command line argument passed to myshell i.e. foo
 Second command line argument passed to myshell i.e. bar

In shell if we wish to refer this command line argument we refer above as follows

 myshell it is $0
 foo it is $1
 bar it is $2

Here $# (built in shell variable ) will be 2 (Since foo and bar only two Arguments), Please note at a time such 9 arguments can be used from $1..$9, You can also refer all of them by using $* (which expand to `$1,$2…$9`). Note that $1..$9 i.e command line arguments to shell script is know as “positional parameters“.


Wildcard types:

1. *  – Matches any string or group of characters.

2. ?  – Matches any single character.

3. […]  – Matches any one of the enclosed characters


[..-..] A pair of characters separated by a minus sign denotes a range.

The read statement

Use to get input (data from user) from keyboard and store (data) to variable.
read variable1, variable2,…variableN




echo “Enter your name please”

read fname

echo “Welcome $fname”

Exit status

By default in Linux if particular command/shell script is executed, it return two type of values which is used to see whether command or shell script executed is successful or not.

(1) If return value is zero (0), command is successful.
(2) If return value is nonzero, command is not successful or some sort of error executing command/shell script.

This value is know as Exit Status.

exit status can be found out by issuing $ echo $?

if the output is 0, the previously executed command is successful if it’s a non zero value means the last command run is unsuccessful.


Quotes in scripts

Mainly three types of quotes are used.

1. ” – Double quotes: Anything enclose in double quotes removed meaning of that characters (except and $).

2. ‘ – Single quotes: Enclosed in single quotes remains unchanged.

3. ` – Back quotes: To execute command



Shell Arithmetic

used to perform arithmetic operations in shell scripts.

Synatax: $ expr  op1 operator  op2


$ expr 1 + 3
$ expr 2 – 1
$ expr 10 / 2
$ expr 20 % 3
$ expr 10 * 3
$ echo `expr 6 + 3`

in the last one we used back quote (` the one below the tilde symbol in standard keyboards).

if we use the back quote the last eg’s output may differ.

© 2017 My techbook

Theme by Anders NorénUp ↑