توضیحاتی در مورد کتاب :
Bash Scripting
هرآنچه که باید در مورد Bash بدانیدیک پوسته چیست و چرا باید به آن اهمیت دهید؟هر سیستم عامل رایانه اخیر (byrecent، ما یعنی از حدود سال 1970) نوعی رابط کاربری دارد - راهی برای تعیین دستورات برای اجرای سیستم عامل. اما در بسیاری از سیستم عامل ها، این رابط فرمان واقعاً ساخته شده بود و تنها یک راه برای صحبت با رایانه وجود داشت. علاوه بر این، رابط فرمان یک سیستم عامل به شما امکان می دهد دستورات را اجرا کنید، اما این تقریباً همه چیز بود. از این گذشته، چه کار دیگری وجود داشت؟ و همه چیزهای دیگری که سیستم عامل از آنها مراقبت می کند (و اکثر کاربران نمی خواهند به آنها اهمیت دهند). پوسته فقط یک برنامه دیگر بود. این برنامه ای بود که کارش اجرای برنامه های دیگر از طرف کاربران بود. اما این شروع یک انقلاب بود. این پوسته فقط یک برنامه دیگر بود که روی یونیکس اجرا می شد، اگر برنامه استاندارد را دوست نداشتید، می توانید برنامه خود را ایجاد کنید. بنابراین در پایان دهه اول یونیکس، حداقل دو پوسته رقیب وجود داشت: Bourne Shell,sh (که از نوادگان پوسته اصلی تامسون بود)، به علاوه C Shell,csh. در پایان دهه دوم یونیکس، چند جایگزین دیگر وجود داشت: پوسته کورن، (ksh)، و اولین نسخههای پوسته bash (bash). مقدمه shell propmt چیست؟ فلج چه زمانی شروع میشود و چه زمانی پایان مییابد؟ دستورات ساده دستورات دستورات پیچیده دستورات ترکیبی آیا اسکریپت پوسته است؟ مزایا فقط در bash یافت میشوند شانس تعاملی چیست؟ فصل اول ایجاد و اجرای برنامه Bash نوشتن و نامگذاری در کدام تصادف برنامه کار میکند؟ افزودن نظرات فصل IIBash محیط فایلهای اولیهسازی پوسته متغیرها در Bash انواع متغیرها طبقهبندی متغیرها بر اساس محتوای آنها * $ و @ $Recycle برنامههای پوسته با استفاده از متغیرها کاراکترهای نقل قول در BashUtility تایپهای نقل قول کاراکتر escapeSingle quote marksDouble quotation marksLocalesExpansions in BashExpanded swastika {}Length Expansion (~)جایگزینی دستورات جایگزینEcompansionxpandshtypeAuthornExpanditions دستورات ایجاد و حذف دستورات جایگزین توابع سریعتر فصل III کلیشه ها در BashRegular عبارات تفاوت بین کلیشه های اصلی و توسعه یافته دستورGrep دستورGrep و عبارات معمولی محورهای خطوط و کلمات انواع کاراکترها با استفاده از ویژگی های Bash الگوها را با استفاده از ویژگی های Bash مطابقت دهید محدوده کاراکترها فصل IV ساختارهای شرطی در BashExpressions که با if استفاده می شود دستوراتی که در ادامه می آیند سپس گزینه های Scan filesSimpleT / گزینه های دیگر را بررسی کنید. تفاوت بین [] و [[]]بررسی آرگومانهای خط فرمان نام فایلهایی که حاوی spacesNested if هستند. حلقه های تو در تو محاسبه حلقه میانگینUntil در Bash چگونه یک حلقه ایجاد کنیم تا دستورات Break و Continue. برنامه های تعاملی یا غیر تعاملی؟ از اکو استفاده کنید command دریافت ورودی کاربر در Bash استفاده از فرمان خواندن درخواست ورودی کاربرRedirection و توصیف فایل خطاهای تغییر مسیر
توضیحاتی در مورد کتاب به زبان اصلی :
Bash Scripting
Everything you need to know about BashWhat’s a shell, and why should you care about it?Any recent computer operating system (byrecent, we mean since about 1970) hassome sort of user interface—some way of specifying commands for the operating sys-tem to execute. But in lots of operating systems, that command interface was reallybuilt in and there was only one way to talk to the computer. Furthermore, an operat-ing system’s command interface would let you execute commands, but that wasabout all. After all, what else was there to do?The Unix operating system popularized the notion of separating the shell(the part ofthe system that lets you type commands) from everything else: the input/output sys-tem, the scheduler, memory management, and all of the other things the operating system takes care of for you (and that most users don’t want to care about). The shell was just one more program; it was a program whose job was executing other pro-grams on behalf of users.But that was the beginning of a revolution. The shell was just another program thatran on Unix, if you didn’t like the standard one, you could create your own. So bythe end of Unix’s first decade, there were at least two competing shells: the Bourne Shell,sh(which was a descendant of the original Thomson shell), plus the C Shell,csh. By the end of Unix’s second decade, there were a few more alternatives: theKorn shell, (ksh), and the first versions of the bash shell (bash).IntroductionWhat is shell propmt?When does paralysis begin and end?CommandsSimple commandsComplex commandsCompound commandsWhat is shell script?The advantages are found only in bashWhat is interactive chance?Chapter OneCreate and run the Bash programWriting and namingIn which coincidence will the program work?Add commentsChapter IIBash environmentShell initialization filesVariables in BashTypes of variablesClassify variables based on their contentCreate variablesExport variablesThe difference between * $ and @ $Recycle shell programs using variablesQuote characters in BashUtility quote typefacesCharacter escapeSingle quotation marksDouble quotation marksLocalesExpansions in BashExpanded swastika {}Length Expansion (~)Substitution of commandsComputational expansionProcess substitutionExpands file namesAlternative commands in BashUtility alternative commandsCreate and delete alternate commandsFaster functionsChapter IIIStereotypes in BashRegular ExpressionsThe difference between basic and extended stereotypesGrep commandGrep command and typical expressionsAxes of lines and wordsCharacter TypesWildcardsMatch patterns using Bash featuresCharacter RangesChapter IVConditional structures in BashExpressions used with ifThe commands that follow are thenScan filesCheck the chance optionsSimple applications on the if statementText comparisonsIf / then / else is builtThe difference between [] and [[]]Examine the command line argumentsThe names of files that contain spacesNested if statementsLogical operationsUse the exit statement with ifChapter VRepetitive tasks in BashEpisode for in BashHow to make a loop for iterativeExamplesBasename commandWhile loop in BashHow to make a while loopWhile nested loopsCalculate the averageUntil loop in BashHow to make a loop untilThe Break and Continue commandsBreak commandContinue commandChapter VIFunctions in BashWhat are functions?Functions SyntaxPosition coefficients in functionsDisplaying FunctionsRecyclingAdjust the pathunset pathmungeChapter VIIWriting interactive Bash programsView user messages in BashInteractive or non-interactive programs?Use the echo commandGet user input in BashUse the read commandRequest user inputRedirection and file descriptorsRedirect errors