-
Notifications
You must be signed in to change notification settings - Fork 0
/
001_hello_world.sh
32 lines (25 loc) · 1.03 KB
/
001_hello_world.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash #Creates a new variable with a value of "Hello World" echo "1.___Hello_World___"
learningbash="Hello World"
echo $learningbash
echo "___________________________________________"
echo " "
echo "2.___Echo_Command___"
var="variable"
echo 'Echo with 'var' is $var'
echo "Echo with "var" is $var"
echo "___________________________________________"
echo " "
#Sleep number of seconds - build in fuction
#Wait process_ID(if default wait until all child process are competed - build in fuction
echo "___________________________________________"
echo " "
echo "3.___User_input___"
echo "Podaj liczbe lat"
read age
echo "Masz $age lat"
echo "Loops, Array, Condition, Function, String Lenght, Extract String,"
echo "Find and replac string, Concacente String,IF func, Recursion"
echo "Create dir, Read files, Print files with line count"
echo "Delete files, Test if exist, update package, Show server informaction"
echo "______________________________________________________________________"
#https://www.hostinger.com/tutorials/bash-script-example