Linux shell scripting with bash burtch

Linux Shell Scripting with Bash

According to IDC, over 170,000 new servers were shipped in the first quarter of 2003. That also means that there were potentially more than 170,000 people like you charged with administering these systems without the proper knowledge or training to do so. Linux Shell Scripting with Bash will help you learn to not only get your system up and running quickly by employing the Bash shell, but it will also show you professional scripting solutions through the use of structured programming and standard Linux development tools. The book focuses on the Linux environment, which the shell relies on to function, and the robust Linux tool set, making this book ideal for learning shell scripting. Real-world scripts are included that are readable, extendable and easy to debug. This book is an asset to any Linux user.

Отзывы — Написать отзыв

Об авторе (2004)

Ken Burtch graduated with a Computer Science first class honors degree from Brock University in St. Catharines, Canada and did his Masters work at Queen’s University in Kingston, Canada. He has been using Linux since version 0.97, at a time before Linux was popular. He is the founder of PegaSoft Canada (http://www.pegasoft.ca), an association that promotes Linux advocacy, education, and development in southern Ontario. He has worked with a number of companies, including Mackenzie Financial Corporation, one of Canada’s largest mutual fund companies. Ken is an active member of the Writers’ Circle of Durham Region and his award-winning short story, «Distance,» was recently published in the Signatures anthology.

Библиографические данные

Название Linux Shell Scripting with Bash
Developer’s library
Автор Ken O. Burtch
Издатель Sams, 2004
ISBN 0672326426, 9780672326424
Количество страниц Всего страниц: 412
&nbsp &nbsp
Экспорт цитаты BiBTeX EndNote RefMan

Источник

Burtch K.O. Linux Shell Scripting with Bash

Burtch K.O. Linux Shell Scripting with Bash

With the proliferation of Linux as both a server and desktop operating system, users are looking for more advanced methods of getting up and running quickly and efficiently solving problems. The most powerful way of achieving this is to employ the command line interface known as the shell. Bash, the Bourne Again Shell, is the most popular Linux shell today.
Linux Shell Scripting with Bash emphasizes professional scripting solutions through the use of structured programming and standard Linux development tools. The book focuses on the Linux environment and the robust tool set therein. Because the shell relies on the operating system for its functionality this is the ideal methodology to learn shell scripting and sets the book apart from general scripting titles. Promoting good programming practices with real-world scripts, which are readable, extendable, and easy to debug, this book will be an essential asset to any Linux user.

Читайте также:  Linux find what ports are in use

See also

Chris F.A. Johnson. Pro Bash Programming: Scripting the GNU/Linux Shell- 2009

The bash shell is a complete programming language, not merely a glue to combine external Linux commands. By taking full advantage of shell internals, shell programs can perform as snappily as utilities written in C or other compiled languages. And you will see how, without assuming Unix lore, you can write professional bash 4.0 programs through standard programming techniques.

Expert Shell Scripting 2009

System administrators need libraries of solutions that are ingenious but understandable. They don’t want to reinvent the wheel, but they don’t want to reinvent filesystem management either! Expert Shell Scripting is the ultimate resource for all working Linux, Unix, and OS X system administrators who would like to have short, succinct, and powerful shell implementations of.

Johnson C., Varma J. Pro Bash Programming. Scripting the GNU/Linux Shell

2nd ed. — Apress, 2015. — 268 p. Pro Bash Programming teaches you how to effectively utilize the Bash shell in your programming. The Bash shell is a complete programming language, not merely a glue to combine external Linux commands. By taking full advantage of Shell internals, Shell programs can perform as snappily as utilities written in C or other compiled languages. And you.

Источник

Sign up to save your library

With an OverDrive account, you can save your favorite libraries for at-a-glance information about availability. Find out more about OverDrive accounts.

Format

ISBN

Series

Author

Publisher

Release

Share

Facebook logo Twitter logo Pinterest logo

Subjects

LibbyDevices.png

Search for a digital library with this title

Title found at these libraries:

This is the eBook version of the printed book. If the print book includes a CD-ROM, this content is not included within the eBook version. According to IDC, over 170,000 new servers were shipped in the first quarter of 2003. That also means that there were potentially more than 170,000 people like you charged with administering these systems without the proper knowledge or training to do so. Linux Shell Scripting with Bash will help you learn to not only get your system up and running quickly by employing the Bash shell, but it will also show you professional scripting solutions through the use of structured programming and standard Linux development tools. The book focuses on the Linux environment, which the shell relies on to function, and the robust Linux tool set, making this book ideal for learning shell scripting. Real-world scripts are included that are readable, extendable and easy to debug. This book is an asset to any Linux user.

Читайте также:  Will linux work on my laptop

Источник

Burtch K.O. Linux Shell Scripting with Bash

Burtch K.O. Linux Shell Scripting with Bash

With the proliferation of Linux as both a server and desktop operating system, users are looking for more advanced methods of getting up and running quickly and efficiently solving problems. The most powerful way of achieving this is to employ the command line interface known as the shell. Bash, the Bourne Again Shell, is the most popular Linux shell today.
Linux Shell Scripting with Bash emphasizes professional scripting solutions through the use of structured programming and standard Linux development tools. The book focuses on the Linux environment and the robust tool set therein. Because the shell relies on the operating system for its functionality this is the ideal methodology to learn shell scripting and sets the book apart from general scripting titles. Promoting good programming practices with real-world scripts, which are readable, extendable, and easy to debug, this book will be an essential asset to any Linux user.

The Linux Environment
The Origin of Linux
Files and File Systems
Directories
Inodes and Links
Pipe and Socket Files
Device Files

Operating the Shell
Bash Keywords
Command Basics
Command-Line Editing
Variable Assignments and Displaying Messages
Multiple Commands
Command History
Directory Commands
Specialized Navigation and History
The Colon Command
Reference Section

Files, Users, and Shell Customization
Listing Files
printf Command
Getting Help
Fixing the Display
Working with Files
Working with People
Shell Aliases
The Bash Hash Table
Customizing Your Prompt
Long Command Lines
Customizing Command-Line Editing
Your Session Profile
Reference Section

Script Basics
Creating a Script
Creating a Well-Behaved Script
The Header
Global Declarations
Sanity Checks
The Main Script
Cleanup
Stopping a Script
Reading Keyboard Input
Basic Redirection
Standard Output, Error, and Input
Built-In Versus Linux Commands
The Set and Shopt Commands
Reference Section

Variables
Variable Basics
Predefined Variables
The Effect of Quotations
Variable Attributes
Arrays
Exporting Variables and the Linux Environment
The eval Command
story.bash:A Story Generator
Reference Section

Expressions
Expansions
The Basic if Command
File Expressions
Multiple Tests
Strings
Arithmetic Expressions
Logical Expressions
Relational Operations
Bitwise Operations
Self-Referential Operations
Other let Features
temperature.bash: Converting Fahrenheit to Celsius
Arithmetic Tests
Pattern Recognition
Globbing Options
Filename Brace Expansion ( \ )
Dollar Sign Substitutions
Arithmetic Expression Substitution ( ((..)) )
mixer.bash: HTML Color Mixer
Reference Section

Читайте также:  Установить драйвер wifi linux debian

Compound Commands
Command Status Codes
if Command
case Command
while Loop
until Loop
for Loops
Embedded let ( ((..)) )
Grouping Commands ( \ )
report.bash: Report Formatter

Debugging and Version Control
Shell Debugging Features
Debug Traps
Version Control (CVS)
Creating Transcripts
Watching Running Scripts
Timing Execution with Time
Creating Man Pages
Source Code Patches
Shell Archives
Reference Section

Parameters and Subshells
Positional Parameters
The getopts Command
The getopt Command
Subshells
Reference Section

Job Control and Signals
Job Control
Signals
The suspend Command
Traps
Exit Handlers
The killall Command
Being Nice
Process Status
Reference Section

Text File Basics
Working with Pathnames
File Truncation
Identifying Files
Creating and Deleting Files
Moving and Copying Files
More Information About Files
Transferring Files Between Accounts (wget)
Transferring Files with FTP
Transferring Files with Secure FTP (sftp)
Verifying Files
Splitting Large Files
Tabs and Spaces
Temporary Files
Lock Files
Named Pipes
Process Substitution
Opening Files
Using head and tail
File Statistics
Cutting
Pasting
Columns
Folding
Joining
Merging
Reference Section

Text File Processing
Finding Lines
Locating Files
Finding Files
Sorting
Character Editing (tr)
File Editing (sed)
Compressing Files
Reference Section

Console Scripting
The Linux Console
The Console Keyboard
The Console Display
tput
select Menus
Custom Menus
Reference Section

Functions and Script Execution
Running Scripts
The Linux Execution Environment
The Source Command (.)
Switching Scripts with exec
Writing Recurring Scripts
Writing Continually Executing Scripts
Shell Functions
Local Variables
Recursion and Nested Functions
Function Attributes
Reference Section

Shell Security
The Basic Linux Security Model
Knowing Who You Are (id)
Transferring Ownership (chown/chgrp)
Changing Access Rights (chmod)
Default Access Rights (umask)
setuid/setgid and Scripts
The chroot Command
Resource Limits (ulimit)
Restricted Shells
Secure File Deletion (wipe)
Reference Section

Network Programming
Sockets
Client-Server and Peer-to-Peer
Network Clients
CGI Scripting
CGI Environment Variables
Processing Forms
Basic Web Page Stripping (lynx)
Reference Section

Data Structures and Databases
Associative Arrays Using Bash Arrays
Hash Tables Using Bash Arrays
Binary Trees Using Bash Arrays
Working with PostgreSQL Databases (psql)
Working with MySQL Databases
Reference Section

Final Topics
The echo Command
More Uses for set
Date Conversions
Completions
Locales
The du Command
Memory Usage
noclobber and Forced Overwriting
The fc Command
! Word Designators and Modifiers
Running Scripts from C
Journey’s End
Reference Section

Appendices:
A Complete Example
Summary of Bash Built-In Commands
Bash Options
Error Codes
Signals
ASCII Table

  • Чтобы скачать этот файл зарегистрируйтесь и/или войдите на сайт используя форму сверху.
  • Регистрация
  • Узнайте сколько стоит уникальная работа конкретно по Вашей теме:
  • Сколько стоит заказать работу?

Источник

Оцените статью
Adblock
detector