-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathu03_bash_tutorial.txt
More file actions
49 lines (31 loc) · 1.63 KB
/
u03_bash_tutorial.txt
File metadata and controls
49 lines (31 loc) · 1.63 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
search Google or YouTube for
bash tutorial
bash tutorial for beginners
bash tutorial pdf
You will find many excellent tutorials, for example:
- https://linuxconfig.org/bash-scripting-tutorial-for-beginners
- https://tldp.org/HOWTO/pdf/Bash-Prog-Intro-HOWTO.pdf
- https://www.kau.edu.sa/files/830/files/60761_linux.pdf
I even have my own tutorials aboud old Bourne shell here:
- https://levselector.com/unix_shells.html
- https://levselector.com/unix_sh.html
Videos:
9 min - Vim Basics in 8 Minutes
- https://www.youtube.com/watch?v=ggSyF1SVFr4
61 min - Vim Tutorial
- https://www.youtube.com/watch?v=IiwGbcd8S7I
60 min - Derek Banas - Shell Scripting Tutorial - Excellent!
- https://www.youtube.com/watch?v=hwrnmQumtPw
24 min - Bash Shell Scripting Tutorial For Beginners
- https://www.youtube.com/watch?v=Zl7npywCB84
32 min - Shell Scripting Crash Course - Beginner Level
- https://www.youtube.com/watch?v=v-F3YLd6oMw
# ------------------------------------------------------------------------------
command to recusrively go through directory looking for files with extension "txt"
and substitute tabs to 4 spaces
fd -t f -e txt | xargs ggrep -P '\t'| awk -F ':' '{print $1}' | uniq | xargs perl -pi -e 's/\t/ /g;'
# ------------------------------------------------------------------------------
# ------------------------------------------------------------------------------
# ------------------------------------------------------------------------------
# ------------------------------------------------------------------------------
# ------------------------------------------------------------------------------