Command Line Fundamentals : Learn to Use the Unix Command-Line Tools and Bash Shell Scripting.
From the bash shell to the traditional UNIX programs, and from redirection and pipes to automating tasks, Command Line Fundamentals teaches you all you need to know about how command lines work.
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing Ltd,
2018.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Intro; Preface; Introduction to the Command Line; Introduction; Command Line: History, Shells, and Terminology; History of the Command Line; Command-Line Shells; Command-Line Terminology; Exploring the Filesystem; Filesystems; Navigating Filesystems; Exercise 1: Exploring Filesystem Contents; Manipulating a Filesystem; Exercise 2: Manipulating the Filesystem; Activity 1: Navigating the Filesystem and Viewing Files; Activity 2: Modifying the Filesystem; Shell History Recall, Editing, and Autocompletion; Command History Recall; Exercise 3: Exploring Shell History; Command-Line Shortcuts
- Exercise 4: Using Shell Keyboard ShortcutsCommand-Line Autocompletion; Exercise 5: Completing a Folder Path; Exercise 6: Completing a Command; Exercise 7: Completing a Command using Options; Activity 3: Command-Line Editing; Shell Wildcards and Globbing; Wildcard Syntax and Semantics; Wildcard Expansion or Globbing; Exercise 8: Using Wildcards; Activity 4: Using Simple Wildcards; Activity 5: Using Directory Wildcards; Summary; Command-Line Building Blocks; Introduction; Redirection; Input and Output Streams; Use of Operators for Redirection; Using Multiple Redirections
- Heredocs and HerestringsBuffering; Exercise 9: Working with Command Redirection; Pipes; Exercise 10: Working with Pipes; Text-Processing Commands; Shell Input Concepts; Filtering Commands; Exercise 11: Working with Filtering Commands; Transformation Commands; Exercise 12: Working with Transformation Commands; Activity 6: Processing Tabular Data
- Reordering Columns; Activity 7: Data Analysis; Summary; Advanced Command-Line Concepts; Introduction; Command Lists; Command List Operators; Using Multiple Operators; Command Grouping; Exercise 13: Using Command Lists; Job Control
- Keyboard Shortcuts for Controlling JobsCommands for Controlling Jobs; Regular Expressions; Elements; Quantifiers; Anchoring; Subexpressions and Backreferences; Exercise 14: Using Regular Expressions; Activity 8: Word Matching with Regular Expressions; Shell Expansion; Environment Variables and Variable Expansion; Arithmetic Expansion; Brace Expansion; Recursive Expansion with eval; Command Substitution; Process Substitution; Exercise 15: Using Shell Expansions; Activity 9: String Processing with eval and Shell Expansion; Summary; Shell Scripting; Introduction; Conditionals and Loops
- Conditional ExpressionsConditional Statements; Loops; Loop Control; Shell Functions; Function Definition; Function Arguments; Return Values; Local Variables, Scope, and Recursion; Exercise 16: Using Conditional Statements, Loops, and Functions; Shell Line Input; Line Input Commands; Internal Field Separator; Exercise 17: Using Shell Input Interactively; Shell Scripts; Shell Command Categories; Program Launch Process; Script Interpreters; Practical Case Study 1: Chess Game Extractor; Understanding the Problem; Exercise 18: Chess Game Extractor
- Parsing a PGN File
- Exercise 19: Chess Game Extractor
- Extracting a Desired Game