|
4 | 4 | </p>
|
5 | 5 |
|
6 | 6 | ## Table of Contents
|
7 |
| - 1. [Basics Operations](#1-basic-operations) |
| 7 | + 1. [Basic Operations](#1-basic-operations) |
8 | 8 | 1.1. [File Operations](#11-file-operations)
|
9 | 9 | 1.2. [Text Operations](#12-text-operations)
|
10 | 10 | 1.3. [Directory Operations](#13-directory-operations)
|
11 | 11 | 1.4. [SSH, System Info & Network Operations](#14-ssh-system-info--network-operations)
|
12 | 12 | 1.5. [Process Monitoring Operations (TODO)](#15-process-monitoring-operations)
|
13 |
| - 1. [Basic Shell Programming](#2-basic-shell-programming) |
| 13 | + 2. [Basic Shell Programming](#2-basic-shell-programming) |
14 | 14 | 2.1. [Variables](#21-variables)
|
15 | 15 | 2.3. [String Substitution](#22-string-substitution)
|
16 | 16 | 2.4. [Functions](#23-functions)
|
17 | 17 | 2.5. [Conditionals](#24-conditionals)
|
18 | 18 | 2.6. [Loops](#25-loops)
|
19 |
| - 1. [Tricks](#4-tricks) |
20 |
| - 1. [Debugging](#5-debugging) |
21 |
| - |
22 |
| -This is first line that you will in bash script files called `shebang`. The shebang line in any script determines the script's ability to be executed like an standalone executable without typing sh, bash, python, php etc beforehand in the terminal. |
23 |
| - |
24 |
| -```bash |
25 |
| -#!/bin/bash |
26 |
| -``` |
| 19 | + 3. [Tricks](#4-tricks) |
| 20 | + 4. [Debugging](#5-debugging) |
| 21 | + |
27 | 22 |
|
28 | 23 | # 1. Basic Operations
|
29 | 24 |
|
@@ -568,7 +563,12 @@ wget file
|
568 | 563 |
|
569 | 564 | # 2. Basic Shell Programming
|
570 | 565 |
|
571 |
| -Now lets discuss about some basic of shell programming. Lets start with creating variables first. |
| 566 | + |
| 567 | +This is first line that you will in bash script files called `shebang`. The shebang line in any script determines the script's ability to be executed like an standalone executable without typing sh, bash, python, php etc beforehand in the terminal. |
| 568 | + |
| 569 | +```bash |
| 570 | +#!/bin/bash |
| 571 | +``` |
572 | 572 |
|
573 | 573 | ## 2.1. Variables
|
574 | 574 |
|
@@ -778,6 +778,13 @@ bash -n scriptname
|
778 | 778 | bash -v scriptname
|
779 | 779 | bash -x scriptname
|
780 | 780 | ```
|
781 |
| -# Feedback |
782 |
| -Suggestions/improvements |
783 |
| -[welcome](https://github.com/idnan/lord-of-terminal/issues)! |
| 781 | +
|
| 782 | +## Contribution |
| 783 | +
|
| 784 | +- Report issues |
| 785 | +- Open pull request with improvements |
| 786 | +- Spread the word |
| 787 | +
|
| 788 | +## License |
| 789 | +
|
| 790 | +[](https://creativecommons.org/licenses/by/4.0/) |
0 commit comments