All about linux @ Linuxinet.Com

Menu Atas

  • Contact
  • Privacy Policy
Home Free Linux Ebooks Linux Programming Ebooks


Google


Free Linux Update

  • OpenOffice.org 3.2.0 Final for Linux: Cross-platform and multilingual office suite and open source project.
  • Puppy Linux 4.3.1: Versatile Linux distribution LiveCD format
  • Mandriva Linux 2010.1 Alpha 2: One of the major distributions completely renovated
  • Wine 1.1.38: Allowing you to run Windows applications under Linux
  • Mixxx 1.7.2 for Linux: Free and powerful program for professional DJ-s
  • Mozilla Prism 1.0 Beta 3 for Linux: Lightweight version of Firefox, which presents a window into a single web application
  • Mozilla Thunderbird 3.1 Alpha 1 for Linux: Organize, secure and customize your mail
  • Debian GNU Linux 5.0.4: free operating system which uses the Linux kernel (the core of the operating system)
  • OpenOffice.org 3.2.0 RC5 for Linux: Complete and free alternative to Microsoft Office
  • DVDStyler 1.8.0 Final for Linux: Creates professional menus for your DVDs finish
  • Vuze 4.3.1.2 for Linux: BitTorrent client become channels content manager and playe
  • KDE 4.4 RC3: Graphical environment useful, simple and aesthetic
  • Azureus Vuze 4.3.1.0a for Linux: Excellent BitTorrent client with streaming capabilities
  • VLC media player 1.0.5 for Linux: Powerful player for viewing MPEG-1, MPEG-2, MPEG-4 and DivX files, DVDs, digital satellite cha
  • K3b 1.70.0 Beta 1: One of the most widely used recording suites on GNU / Linux
Read More...

Linux Update Category

  • Free Linux Ebooks
    • Linux Administration Ebooks
    • Linux Programming Ebooks
    • Perl Ebooks
    • PHP Ebooks
    • Red Hat Linux Ebooks
    • Start Using Linux Ebooks
    • Ubuntu Ebooks
  • Free Linux Software
    • Linux Distributions
    • Linux Education Software
    • Linux Emulation Software
    • Linux Games
    • Linux Graphic / Image Software
    • Linux Multimedia Software
    • Linux Office Software
    • Linux Virus Scan
    • Linux Web Browsers Software

Recent comments

  • The actual setting is a
    1 year 16 weeks ago
  • I understand and agree with
    1 year 22 weeks ago
My Zimbio
TopOfBlogs

Ebook Sams Teach Yourself Shell Programming in 24 Hours

Submitted by linuxinet on Sun, 11/09/2008 - 16:35.
  • Linux Programming Ebooks
a d v e r t i s e m e n t s

In recent years, the UNIX operating system has seen a huge boost in its popularity, especially with the emergence of Linux. For programmers and users of UNIX, this comes as no surprise: UNIX was designed to provide an environment that’s powerful yet easy to use.

One of the main strengths of UNIX is that it comes with a large collection of standard programs. These programs perform a wide variety of tasks from listing your files to reading email. Unlike other operating systems, one of the key features of UNIX is that these programs can be combined to perform complicated tasks and solve your problems.

One of the most powerful standard programs available in UNIX is the shell. The shell is a program that provides you with a consistent and easy-to-use environment for executing programs in UNIX. If you have ever used a UNIX system, you have interacted with the shell.

The main responsibility of the shell is to read the commands you type and then ask the UNIX kernel to perform these commands. In addition to this, the shell provides sophisticated programming constructs that enable you to make decisions, repeatedly execute commands, create functions, and store values in variables.

This book concentrates on the standard UNIX shell called the Bourne shell. When Dennis Ritche and Ken Thompson were developing much of UNIX in the early 1970s, they used a very simple shell. The first real shell, written by Stephen Bourne, appeared in the mid 1970s. The original Bourne shell has changed slightly over the years; some features were added and others were removed, but its syntax and its resulting power have remained the same.

The most attractive feature of the shell is that it enables you to create scripts. Scripts are files that contain a list of commands you want to run. Because every script is contained in a file and every file has a name, scripts enable you to combine existing programs to create completely new programs that solve your problems. This book teaches you how to create, execute, modify, and debug shell scripts quickly and easily. After you get used to writing scripts, you will find yourself solving more and more problems with them.

I assume that you have some familiarity with UNIX and know how to log in, create and edit files, and work with files and directories to a limited extent. If you haven’t used UNIX in a while or you aren’t familiar with one of these topics, don’t worry. The first part of this book reviews this material thoroughly.

This book is divided into three parts:
• Part I is an introduction to UNIX, the shell, and some common tools.
• Part II covers programming using the shell.
• Part III covers advanced topics in shell programming.

Part I consists of Chapters 1 through 6. The following material covered in the individual chapters:
• Chapter 1, “Shell Basics,” discusses several important concepts related to the shell and describes the different versions of the shell.
• Chapter 2, “Script Basics,” describes the process of creating and running a shell script. It also covers the login process and the different modes in which the shell executes.
• Chapters 3, “Working with Files,” and 4, “Working with Directories,” provide an overview of the commands used when working with files and directories. These chapters show you how to list the contents of a directory, view the contents of a file, and manipulate files and directories.
• Chapter 5, “Manipulating File Attributes,” introduces the concept of file attributes. It covers the different types of files along with modifying a file’s permissions.
• In UNIX every program runs as a process. Chapter 6, “Processes,” shows you how to start and stop a process. It also explains the term process ID and how you can view them.

By this point, you should have a good foundation in the UNIX basics. This will enable you to start writing shell scripts that solve real problems using the concepts covered in Part II. Part II is the heart of this book, consisting of Chapters 7 through 18. It teaches you about all the tools available when programming in the shell. The following material is covered in these chapters:
• Chapter 7, “Variables,” explains the use of variables in shell programming, shows you how to create and delete variables, and explains the concept of environment variables.
• Chapters 8, “Substitution,” and 9, “Quoting,” cover the topics of substitution and quoting. Chapter 8 shows you the four main types of substitution: filename, variables, command, and arithmetic substitution. Chapter 9 shows you the behavior of the different types of quoting and its effect on substitution.
• Chapters 10, “Flow Control,” and 11, “Loops,” provide complete coverage of flow control and looping. The flow control constructs if and case are covered along with the loop constructs for and while.
• Chapter 12, “Parameters,” shows you how to write scripts that use command line arguments. The special variables and the getopts command are covered in detail.
• Chapter 13, “Input/Output,” covers the echo, printf, and read commands along with the < and > input redirection operators. This chapter also covers using file descriptors.
• Chapter 14, “Functions,” discusses shell functions. Functions provide a mapping between a name and a set of commands. Learning to use functions in a shell script is a powerful technique that helps you solve complicated problems.
• Chapters 15, “Text Filters,” 16, “Filtering Text Using Regular Expressions,” and 17, “Filtering Text with awk,” cover text filtering. These chapters show you how to use a variety of UNIX commands including grep, tr, sed, and awk.
• Chapter 18, “Miscellaneous Tools,” provides an introduction to some tools that are used in shell programming. Some of the commands that are discussed include type, find, bc, and remsh.

At this point, you will know enough about the shell and the external tools available in UNIX that you can solve most problems. The last part of the book, Part III, is designed to help you solve the most difficult problems encountered in shell programming. Part III spans Chapters 19 through 24 and covers the following material:
• Chapter 19, “Dealing with Signals,” explains the concept of signals and shows you how to deliver a signal and how to deal with a signal using the trap command.
• Chapter 20, “Debugging,” discusses the shell’s built-in debugging tools. It shows you how to use syntax checking and shell tracing to track down bugs and fix them.
• Chapters 21, “Problem Solving with Functions,” and 22, “Problem Solving with Shell Scripts,” cover problem solving. Chapter 21 covers problems that can be solved using functions. Chapter 22 introduces some real-world problems and shows you how to solve them using a shell script.
• Chapter 23, “Scripting for Portability,” covers the topic of portability. In this chapter, you rewrite several scripts from previous chapters to be portable to different versions of UNIX.
• Chapter 24, “Shell Programming FAQs,” is a question-and-answer chapter. Several common programming questions are presented along with detailed answers and examples.

Each chapter in this book includes complete syntax descriptions for the various commands along with several examples to illustrate the use of commands. The examples are designed to show you how to apply the commands to solve real problems. At the end of each chapter are a few questions that you can use to check your progress. Some of the questions are short answer while others require you to write scripts.

After Chapter 24, three appendixes are available for your reference:
• Appendix A, “Command Quick Reference,” provides you with a complete command reference.
• Appendix B, “Glossary,” contains the terms used in this book.
• Appendix C, “Quiz Answers,” contains the answers to all the questions in the book.

Download Sams Teach Yourself Shell Programming in 24 Hours


Technorati Tags: Linux Programming Ebooks
Bookmark/Search this post with:
  • Delicious
  • Digg
  • Reddit
  • Magnoliacom
  • Newsvine
  • Furl
  • Facebook
  • Google
  • Yahoo
  • Technorati
  • Icerocket
  • Add new comment
  • Please login or register to apply
  • 3398 reads
  • Stumble

tags in Free Linux Ebooks

PHP Ebooks Start Using Linux Ebooks Perl Ebooks Linux Administration Ebooks Linux Programming Ebooks Red Hat Linux Ebooks Ubuntu Ebooks
more tags

Popular Linux

Today's:

  • Today Popular Search
  • All Time Popular Search
  • Ubuntu 9.10 Alpha 5: fully functional desktop operating system
  • Search Result
  • Mandriva Linux 2010.0 Alpha 2: One of the major distributions completely renovated
  • Ubuntu 10.04 (Lucid Lynx) Alpha 1: Linux for everyone
  • Download Free PDF Ebooks Ubuntu Server Guide
  • Kubuntu 9.10 (Karmic Koala): Ubuntu KDE-hearted
  • iTunes 8.2.1.6 for Linux: High-quality universal player
  • Kubuntu 10.04 (Lucid Lynx) Alpha 1: Ubuntu but with KDE

tags in Free Linux Software

Linux Multimedia Software Linux Office Software Linux Emulation Software Linux Education Software Linux Games Linux Web Browsers Software Linux Distributions Linux Graphic / Image Software
more tags

Linux News Flash

  • Top Storage Stories of 2009: RAID, Clouds, SSDs and Mergers
  • Smartbook Tablet Design Runs Linux, Android
  • AMD Makes its Way into Lenovo ThinkPads
  • More Than 10 Ways to Get FOSS Past the Boss
  • Monty's 'Save MySQL' Mudsling Gets 15,000 Backers
  • Five New Year's Resolutions for Google
  • Open-source BI Going Mainstream, Gartner Says
  • XKB2 Gets Cut Again, Maybe For X Server 1.9?
  • googsystray - System Tray Notifications for various Google Services
  • Gentoo Linux Security Advisory 201001-02 (Normal): adobe-flash
  • Ubuntu Security Notice 876-1: PostgreSQL vulnerabilities
  • Gentoo Linux Security Advisory 201001-01 (Normal): ntp
  • Recursively Encrypt / Decrypt Directories using gpgdir on Linux
  • Distribution Release: Kahel OS 01-01-2010 "Light"
  • SWFTools - SWF Manipulation and Creation tools under Linux
Read More...

tags in Linux News

Linux Alternatives to Photoshop News Migrating from Windows to Linux: Getting Started News Linux Software 10 things Songbird does better than iTunes News Red Hat News notebook with Ubuntu Open Source News Linux News Ubuntu News Linux Vs Microsoft Linux Desktop Linux Distro
more tags

Today Search Term:comando instalar test disk en ubuntu 9.04, network administration .pdf free, instalar php 5.3.1 linux, azureus for ubuntu linux, openoffice 3.2 fedora 12, rss reader in java 1.4.2, palimpsest ubuntu user guide, como instalar vlc media player em mandriva linux?, instalar bin ubuntu 9.10, instalar openoffice.org 3.2.0 rc5, centos flash player alternative, installing samba 3.4 on gentoo 64 bit, what will be the new audio and video player in lucid lynx , pando ubuntu telecharger, opensuse proxy authentication required 407, ati catalyst 9.3 linux distributionen, photo album fedora 12, youtube downloader for fedora11, how to install wine 1.1.15 in ubuntu 9.04, frostwire for ubuntu 8.04 free download, kde 4.3 and mp3 playback, free download prism for ubuntu, how to install mpeg 1 layer 3 on ubuntu 9.10, download scalpel .deb file, vlc vür ubuntu download, how to install webmin in linux mint, redhat 2.6.32.7 rpm, kubuntu 9.10 dma, скачать celestia для ubuntu, ubuntu 9.10 fix ati black border, extract itunes 8.2.dmg on linux, debian install thunderbird, how to install ie7 on ubuntu 9.10, upgrade samba 3.4.3 ubuntu lucid, apache 2.2.14 ubuntu 9.10, convert cd to mdf, linux redhat 5 free books, e books to learn windows os redhat, how to download from newsgroup suse linux, centos how to install firefox 3.6.tar.bz2, more ..


All Times: evolution mail setting in ubuntu 9.4, ebookslmms 0.4.4., apache installation on rh linux 5.3, free dj software fedora, start knoppix 6.0.1 samba, google earth 5.0 ubuntu 8.04 , total reference of fedora 11, firefox 3.5.2 ubuntu 9.4, bible of fedora 11, pcsx2 jaunty, linux typefile : pdf, suse complete reference, virtualbox usb ubuntu 9.0.4, kde 4.3 rc2 opensuse, knoppix huawei 169, php the complete reference, seamonkey-2.0 .src.rpm, kde 4.2 ubuntu 9.40, php: the complete reference, ubuntu 9.04 wep or encryption wireless lan setup, instalar gnome 2.26 en lenny, java 3d opengl, gimp 2.6 pdf manual, ubuntuk3b-1.66, songbird puppy linux 4.2, kde 4.3 different wallpapers, centos pymsnt, build a bewoulf cluster, dreamlinux 2.2 iso, xpgnome debian, xampp ubuntu, linux, fedora, decrypt, ubuntu palimpsest installieren, download itunes 9.4, ubuntu web photo album, fedora wine mirror yum, linux guitar pro player, c programming a modern approach 2nd edition filetype:pdf, installing maya 2009 of suse 11.1, how to install samba-3.4.0, more...

RoopleTheme