You are here

Back to top

Learning C Shell Scripting Gently (Paperback)

Learning C Shell Scripting Gently Cover Image
$22.99
Usually Ships in 1-5 Days
Non-returnable item. All sales final.

Description


This is the only book on C shell scripting that goes in-depth, from variable management to the intricacies of scripting. The book is written in such a way that even a computer novice can learn from it. To say that C shell is not used is not true at all. As per the TIOBE Index, bash and C shell have similar kinds of popularity. This book has the following aims:1) Develop an understanding of the C shell environment. 2) Understanding Variables thoroughly.3) Extensive look at various scripting mechanisms to lay a solid foundation so that you can succeed in any programming language that you feel that you have to learn to progress in your career. 4) Those who are using tcsh shell will benefit from reading this book.ContentIntroductionWhy should I learn C shell (csh) shell scripting?PrerequisitesThe infrastructure used to create this bookChapter 1: What is a Shell?Finding out your ShellChapter 2: Fundamentals of ShellStreamsRedirectionVariablesChapter 3: C shell (csh) EssentialsRedirection of the Error streamCommand combinationsAND operator &&OR operator Single and double quotes backslash and backticksCommand substitution in C shellChapter 4: C Shell User CustomizationThe .login and .cshrc files for personal customization.The csh.login and csh.cshrc file for System Wide CustomizationChapter 5: Regular expressions and grep, sed, find and awkMeta CharactersGrep CommandThe sed commandThe -n and p command of sedThe find commandThe awk commandSyntax of awkExamples of awkA note about the buffersUsing Selection conditions in awk$NF and other variables in awkSimple formattingCombining commandsAwk BlocksChapter 6: Advanced take on Shell FundamentalsVariablesUser-created variablesExisting or Predefined VariablesEnvironmental VariablesAliasesVarious options of echo commandThe \b character code - backspaceThe -n syntax - no new lineThe tab \t character code: The form feed \f character codeThe vertical tab \v character code: Exit commandReading from the command linePositional Parameters in C ShellOperators and their typesArithmetical operatorsRelational operatorsFile testing operatorsLogical OperatorsChapter 7: Beginning C Shell ScriptingIf-then-else: Decision MakingSupported Syntaxes of If-Then-ElsePutting command outputs inside variables using back ticksScriptsSwitch-Case DecisionLoopingWhile loopingForeach loopingChapter 8: Advanced Techniques and Scripting in C shellBreak and Continue command: Repeat looping: Parameters Again: Script name Identifier $0Parameter counter $#argvParameter lister $argvShift commandIntroducing ArraysChapter 9 Frequently Asked QuestionsWhat is the difference between using source command and executing a script normally?How can I initiate an infinite loop using "while" in BASH and C shells?What is the significance of exit 1, exit 2 and exit 3 etc. in the shell scripts?How do I control and validate input of arguments to the script?How do I troubleshoot my C shell scripts?Is it possible to accomplish file parsing in C shell scripts?

Product Details
ISBN: 9798539295707
Publisher: Independently Published
Publication Date: July 17th, 2021
Pages: 240
Language: English