ورود به حساب

نام کاربری گذرواژه

گذرواژه را فراموش کردید؟ کلیک کنید

حساب کاربری ندارید؟ ساخت حساب

ساخت حساب کاربری

نام نام کاربری ایمیل شماره موبایل گذرواژه

برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید


09117307688
09117179751

در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید

دسترسی نامحدود

برای کاربرانی که ثبت نام کرده اند

ضمانت بازگشت وجه

درصورت عدم همخوانی توضیحات با کتاب

پشتیبانی

از ساعت 7 صبح تا 10 شب

دانلود کتاب bash Idioms: Write Powerful, Flexible, Readable Shell Scripts

دانلود کتاب اصطلاحات bash: اسکریپت های شل قدرتمند، انعطاف پذیر و خوانا بنویسید

bash Idioms: Write Powerful, Flexible, Readable Shell Scripts

مشخصات کتاب

bash Idioms: Write Powerful, Flexible, Readable Shell Scripts

ویرایش: [1 ed.] 
نویسندگان:   
سری:  
ISBN (شابک) : 1492094757, 9781492094753 
ناشر: O'Reilly Media 
سال نشر: 2022 
تعداد صفحات: 200 
زبان: English 
فرمت فایل : EPUB (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود) 
حجم فایل: 296 Kb 

قیمت کتاب (تومان) : 43,000



ثبت امتیاز به این کتاب

میانگین امتیاز به این کتاب :
       تعداد امتیاز دهندگان : 1


در صورت تبدیل فایل کتاب bash Idioms: Write Powerful, Flexible, Readable Shell Scripts به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.

توجه داشته باشید کتاب اصطلاحات bash: اسکریپت های شل قدرتمند، انعطاف پذیر و خوانا بنویسید نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.


توضیحاتی در مورد کتاب اصطلاحات bash: اسکریپت های شل قدرتمند، انعطاف پذیر و خوانا بنویسید



اسکریپت های Shell همه جا هستند، به خصوص آنهایی که با نحو سازگار با bash نوشته شده اند، و درک و نوشتن آنها بسیار مفید است، اما می توانند پیچیده و مبهم باشند. پیچیدگی دشمن امنیت است، اما دشمن خوانایی و درک نیز هست. با استفاده از این کتاب کاربردی، یاد خواهید گرفت که چگونه کدهای bash قدیمی را رمزگشایی کنید و کد جدیدی بنویسید که تا حد امکان واضح و خوانا باشد. آینده شما از شما تشکر خواهد کرد.

نویسندگان کارل آلبینگ و جی پی ووسن به شما نشان می دهند که چگونه از قدرت و انعطاف پوسته به نفع خود استفاده کنید. شما یاد خواهید گرفت که چگونه اسکریپت ها را مانند یک متخصص بخوانید و بنویسید، به طوری که می توانید:

  • کد bash مفید، انعطاف پذیر و خوانا بنویسید...با سبک
  • رمزگشایی کد bash مانند ${MAKEMELC،،} و ${PATHNAME#*/}
  • در زمان صرفه جویی در وقت و اطمینان از ثبات در هنگام خودکار کردن وظایف
  • متحیر و تحت تاثیر قرار دادن همکاران با اصطلاحات bash< /li>
  • کشف کنید چگونه اصطلاحات bash می توانند کد شما را تمیز و مختصر کنند

توضیحاتی درمورد کتاب به خارجی

Shell scripts are everywhere, especially those written in bash compatible syntax, and it's extremely useful to be able to understand and write them, but they can be complex and obscure. Complexity is the enemy of security, but it's also the enemy of readability and understanding. With this practical book, you'll learn how to decipher old bash code and write new code that's as clear and readable as possible. Your future you will thank you.

Authors Carl Albing and JP Vossen show you how to use the power and flexibility of the shell to your advantage. You'll learn how to read and write scripts like an expert, so that you can:

  • Write useful, flexible, and readable bash code...with style
  • Decode bash code such as ${MAKEMELC,,} and ${PATHNAME##*/}
  • Save time and ensure consistency when automating tasks
  • Amaze and impress colleagues with bash idioms
  • Discover how bash idioms can make your code clean and concise


فهرست مطالب

Preface
        Running bash
            bash on Mac
            bash in Containers
        Revision Control
        Hello World
        Conventions Used in This Book
        Using Code Examples
        O’Reilly Online Learning
        How to Contact Us
        Acknowledgments
            bash
            Reviewers
            O’Reilly
            From Carl
            From JP
    1. A Big “if” Idiom
        The Big “if”
        Or ELSE…
        More than One
        More than One Again
        Don’t Do This
        Style and Readability: Recap
    2. Looping Lingo
        Looping Constructs
        Explicit Values
        Similar to Python
        Quotes and Spaces
        Developing and Testing for Loops
        while and until
        Style and Readability: Recap
    3. Just in CASE
        Make Your Case
        A Realistic Use Case
            Motivation
            Our Script
        Wrapper Scripts
        One More Twist
        Style and Readability: Recap
    4. Variable Vernacular
        Variable Reference
        Parameter Expansion
            Shorthand for basename
            Path or Prefix Removal
            Shorthand for dirname or Suffix Removal
            Other Modifiers
        Conditional Substitutions
            Default Values
            Comma-Separated Lists
            Modified Value
        $RANDOM
        Command Substitution
        Style and Readability: Recap
    5. Expressions and Arithmetic
        Arithmetic
            No Parentheses Needed
        Compound Commands
        Style and Readability: Recap
    6. Functional Framework
        Calling Functions
        Defining Functions
            Function Parameters
            Function Return Values
            Local Variables
            Function Special Cases
        Time for printf
            POSIX Output
            Getting or Using the Date and Time
            printf for Reuse or Debugging
        Style and Readability: Recap
    7. List and Hash Handling
        Commonalities
        Lists
        Hashes
        A Simple Word Count Example
        Style and Readability: Recap
    8. Arguing
        Your First Argument
        Having Options
            Parsing Options
        Long Arguments
        HELP!
        Debug and Verbose
        Version
        Style and Readability: Recap
    9. Files and More
        Reading Files
            read
            mapfile
            Brute Force
        Fiddling with $IFS for Fun and Profit, to Read Files
        Pretend Files
        Drop-in Directories
        Using a Library
        Shebang!
        Unofficial bash Strict Mode
        Exit Codes
        It’s a Trap!
        Here-Documents and Here-Strings
        Are We Interactive?
        Summary
    10. Beyond Idioms: Working with bash
        Prompts
            bash Time Zone
        Getting User Input
            read
            pause
            select
        Aliases
        Functions
        Local Variables
        Readline Hacks
        Using logger from bash
        Handling JSON with jq
        Grepping the Process List
        Rotating Old Files
        Embedded Documentation
        bash Debugging
        bash Unit Testing
        Summary
    11. Developing Your Style Guide
        Readability
        Comments
        Names
        Functions
        Quoting
        Layout
        Syntax
        Other
        Script Template
        Other Style Guides
        bash Linter
        Summary
    A. The bash Idioms Style Guide
        Readability
        Comments
        Names
        Functions
        Quoting
        Layout
        Syntax
        Other
        Script Template
    Index
    About the Authors




نظرات کاربران