توضیحات
Create and maintain powerful Bash scripts for automation and administration.
Key Features
- Get up and running with Linux shell scripting using real-world examples
- Leverage command-line techniques and methodologies to automate common yet complex administration tasks
- A practical guide with exposure to scripting constructs and common scripting patterns
Book Description
Shell scripts allow us to program commands in chains and have the system execute them as a scripted event, just like batch files. This book will start with an overview of Linux and Bash shell scripting, and then quickly deep dive into helping you set up your local environment, before introducing you to tools that are used to write shell scripts. The next set of chapters will focus on helping you understand Linux under the hood and what Bash provides the user. Soon, you will have embarked on your journey along the command line. You will now begin writing actual scripts instead of commands, and will be introduced to practical applications for scripts. The final set of chapters will deep dive into the more advanced topics in shell scripting. These advanced topics will take you from simple scripts to reusable, valuable programs that exist in the real world. The final chapter will leave you with some handy tips and tricks and, as regards the most frequently used commands, a cheat sheet containing the most interesting flags and options will also be provided.
After completing this book, you should feel confident about starting your own shell scripting projects, no matter how simple or complex the task previously seemed. We aim to teach you how to script and what to consider, to complement the clear-cut patterns that you can use in your daily scripting challenges.
What you will learn
- Understand Linux and Bash basics as well as shell scripting fundamentals
- Learn to write simple shell scripts that interact with Linux operating system
- Build, maintain, and deploy scripts in a Linux environment
- Learn best practices for writing shell scripts
- Avoid common pitfalls associated with Bash scripting
- Gain experience and the right toolset to write your own complex shell scripts
Who this book is for
This book targets new and existing Linux system administrators, Windows system administrators or developers who are interested in automating administrative tasks. No prior shell scripting experience is needed but in case you do this book will make a pro quickly. Readers should have a basic understanding of the command line.
Table of Contents
- Introduction
- Setting up your local environment
- Choosing the right tools
- The Linux filesystem
- Understanding the Linux permissions scheme
- File manipulation
- Hello World!
- Variables and user input
- Error checking and handling
- Regular expressions
- Conditional testing and scripting loops
- Using pipes and redirection in scripts
- Functions
- Scheduling and logging
- Parsing Bash script arguments with getopts
- Bash parameter substitution and expansion
- Tips & tricks (with cheat sheet)
————————————————————–
ترجمه ماشینی :
اسکریپتهای قدرتمند Bash را برای اتوماسیون و مدیریت ایجاد و نگهداری کنید.
ویژگیهای کلیدی
- با اسکریپتنویسی پوسته لینوکس با استفاده از واقعی راهاندازی و اجرا کنید. -نمونههای جهانی
- استفاده از تکنیکها و متدولوژیهای خط فرمان برای خودکارسازی وظایف معمول و در عین حال پیچیده مدیریت
- یک راهنمای عملی با قرار گرفتن در معرض ساختارهای برنامهنویسی و الگوهای برنامهنویسی رایج
توضیحات کتاب
اسکریپت های Shell به ما امکان می دهند دستورات را به صورت زنجیره ای برنامه ریزی کنیم و از سیستم بخواهیم آنها را به عنوان یک رویداد اسکریپت شده اجرا کنیم، درست مانند فایل های دسته ای. این کتاب با مروری بر لینوکس و اسکریپتنویسی پوسته Bash شروع میشود، و سپس به سرعت به شما کمک میکند تا محیط محلی خود را تنظیم کنید، قبل از اینکه شما را با ابزارهایی که برای نوشتن اسکریپتهای پوسته استفاده میشوند آشنا کند. مجموعه فصل های بعدی بر کمک به شما در درک لینوکس و آنچه Bash در اختیار کاربر قرار می دهد تمرکز خواهد کرد. به زودی، شما سفر خود را در امتداد خط فرمان آغاز خواهید کرد. اکنون به جای دستورات شروع به نوشتن اسکریپت های واقعی خواهید کرد و با کاربردهای عملی اسکریپت ها آشنا خواهید شد. مجموعه پایانی فصل ها به موضوعات پیشرفته تر در اسکریپت نویسی پوسته می پردازد. این موضوعات پیشرفته شما را از اسکریپت های ساده به برنامه های قابل استفاده مجدد و ارزشمندی که در دنیای واقعی وجود دارند می برد. فصل آخر نکات و ترفندهای مفیدی را در اختیار شما قرار میدهد و در مورد دستورات پرکاربرد، یک برگه تقلب حاوی جالبترین پرچمها و گزینهها نیز ارائه میشود.
پس از تکمیل این کتاب، شما در اختیار خواهید داشت. بدون توجه به اینکه کار قبلا چقدر ساده یا پیچیده به نظر می رسید، باید در مورد شروع پروژه های اسکریپت نویسی پوسته خود مطمئن باشید. هدف ما این است که به شما یاد دهیم چگونه اسکریپت بنویسید و چه چیزهایی را در نظر بگیرید، تا الگوهای واضحی را که می توانید در چالش های برنامه نویسی روزانه خود استفاده کنید، تکمیل کنیم.
آنچه خواهید آموخت
- مبانی لینوکس و Bash و همچنین اصول اسکریپت نویسی پوسته را بدانید
- یاد بگیرید که اسکریپت های پوسته ساده ای بنویسید که با سیستم عامل لینوکس تعامل دارند
- اسکریپت ها را در یک محیط لینوکس بسازید، نگهداری کنید و اجرا کنید< /li>
- آموزش بهترین شیوه ها برای نوشتن اسکریپت های پوسته
- جلوگیری از مشکلات رایج مرتبط با اسکریپت نویسی Bash
- به دست آوردن تجربه و مجموعه ابزار مناسب برای نوشتن اسکریپت های پوسته پیچیده خود
- مقدمه
- تنظیم محیط محلی شما
- انتخاب ابزار مناسب
- سیستم فایل لینوکس
- آشنایی با طرح مجوزهای لینوکس
- دستکاری فایل
- Hello World!
- متغیرها و ورودی کاربر
- بررسی و رسیدگی به خطا
- عبارات معمولی
- حلقههای تست شرطی و اسکریپت
- استفاده از لولهها و هدایت مجدد در اسکریپت ها
- توابع
- زمان بندی و ثبت گزارش
- تجزیه آرگومان های اسکریپت Bash با getopts
- تعویض و گسترش پارامتر Bash
این کتاب برای چه کسانی است
این کتاب مدیران سیستم لینوکس جدید و موجود، مدیران سیستم ویندوز یا توسعه دهندگانی را که به خودکارسازی وظایف اداری علاقه مند هستند، هدف قرار می دهد. هیچ تجربه قبلی در اسکریپت نویسی پوسته مورد نیاز نیست، اما در صورت انجام این کتاب به سرعت یک حرفه ای می شود. خوانندگان باید درک اولیه ای از خط فرمان داشته باشند.
فهرست محتوا
< li> نکات و amp; ترفندها (با برگه تقلب)
tag : دانلود کتاب آموزش اسکریپتنویسی پوسته لینوکس , Download آموزش اسکریپتنویسی پوسته لینوکس , دانلود آموزش اسکریپتنویسی پوسته لینوکس , Download Learn Linux Shell Scripting Fundamentals of Bash 4.4: A comprehensive guide to automating administrative tasks with the Bash shell Book , آموزش اسکریپتنویسی پوسته لینوکس دانلود , buy آموزش اسکریپتنویسی پوسته لینوکس , خرید کتاب آموزش اسکریپتنویسی پوسته لینوکس , دانلود کتاب Learn Linux Shell Scripting Fundamentals of Bash 4.4: A comprehensive guide to automating administrative tasks with the Bash shell , کتاب Learn Linux Shell Scripting Fundamentals of Bash 4.4: A comprehensive guide to automating administrative tasks with the Bash shell , دانلود Learn Linux Shell Scripting Fundamentals of Bash 4.4: A comprehensive guide to automating administrative tasks with the Bash shell , خرید Learn Linux Shell Scripting Fundamentals of Bash 4.4: A comprehensive guide to automating administrative tasks with the Bash shell , خرید کتاب Learn Linux Shell Scripting Fundamentals of Bash 4.4: A comprehensive guide to automating administrative tasks with the Bash shell ,

نقد و بررسیها
هنوز بررسیای ثبت نشده است.