25.03.2013 Views

Copyright Sams Teach Yourself Shell Programming in 24 Hours

Copyright Sams Teach Yourself Shell Programming in 24 Hours

Copyright Sams Teach Yourself Shell Programming in 24 Hours

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Because bash is an implementation of the IEEE POSIX 1003.2/ISO 9945.2 <strong>Shell</strong> and Tools specification, it<br />

is extremely portable and can be built on most UNIX systems. It has also been ported to QNX, M<strong>in</strong>ix, OS/2,<br />

and W<strong>in</strong>dows 95/NT.<br />

Currently, only L<strong>in</strong>ux ships with the Bourne Aga<strong>in</strong> shell. It is <strong>in</strong>stalled as /b<strong>in</strong>/bash. On most L<strong>in</strong>ux<br />

systems, it is also <strong>in</strong>stalled as /b<strong>in</strong>/sh.<br />

Some features that bash <strong>in</strong>cludes <strong>in</strong> addition to those of the Korn shell are<br />

● Name completion for variable names, usernames, host names, commands, and filenames<br />

● Spell<strong>in</strong>g correction for pathnames <strong>in</strong> the cd command<br />

● Arrays of unlimited size<br />

● Integer arithmetic <strong>in</strong> any base between 2 and 64<br />

<strong>Sams</strong> <strong>Teach</strong> <strong>Yourself</strong> <strong>Shell</strong> <strong>Programm<strong>in</strong>g</strong> <strong>in</strong> <strong>24</strong> <strong>Hours</strong> Contents Index<br />

Hour 1: <strong>Shell</strong> Basics<br />

Sections <strong>in</strong> this Chapter:<br />

Previous Chapter Next Chapter<br />

What Is a Command? Questions<br />

What Is the <strong>Shell</strong>? Terms<br />

Summary<br />

Previous Section Next Section<br />

© <strong>Copyright</strong> Macmillan Computer Publish<strong>in</strong>g. All rights reserved.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!