Amazon-Kindle fire

 

 

Technical Details

 

Display7″ 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).
Weight14.6 ounces (413 grams).
System RequirementsNone, because it’s wireless and doesn’t require a computer.
On-device Storage8GB internal. That’s enough for 80 apps, plus either 10 movies or 800 songs or 6,000 books.
Cloud StorageFree cloud storage for all Amazon content
Battery LifeUp 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 TimeFully charges in approximately 4 hours via included U.S. power adapter. Also supports charging from your computer via USB.
Wi-Fi ConnectivitySupports 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 PortUSB 2.0 (micro-B connector)
Audio3.5 mm stereo audio jack, top-mounted stereo speakers.
Content Formats SupportedKindle (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.
DocumentationQuick Start Guide(included in box); Kindle User’s Guide (pre-installed on device)
Warranty and Service1-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 BoxKindle Fire device, U.S. power adapter (supports 100-240V), and Quick Start Guide.

Posted on

if…else…fi

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

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

           else
                       if condition is not true then
                       execute all commands up to fi
           fi
example of nested if else
osch=0
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)"
       else
             echo "What you don't like Unix/Linux OS."
       fi
fi

Posted on

if condition

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

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


Posted on

Pipes

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

Syntax:
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

Posted on

Command line arguements

eg:

$ 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“.


Posted on

Wildcards

Wildcard types:

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

2. ?  – Matches any single character.

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

Note: 

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

Posted on

The read statement

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

 

eg:

#!/bin/sh

echo “Enter your name please”

read fname

echo “Welcome $fname”

Posted on

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.

 

Posted on

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

 

 

Posted on

Shell Arithmetic

used to perform arithmetic operations in shell scripts.

Synatax: $ expr  op1 operator  op2

eg:

$ 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.

Posted on