How to Read and Write to files using Bash, I cover simple Reading and Writing of single lines, to more complex method of reading an INI Config file and Filtering user data.
Bash Tutorial Playlist: • Bash Script Tutorials
Script Download: https://raw.githubusercontent.com/qui...
0:19 Simple Writing to file using echo
1:19 Simple Writing to file using tee
1:51 Writing Multiple lines to file
3:04 Clearing / Zeroing a file
3:22 Reading a Single variable
4:34 Reading all lines of a file
5:28 Using IFS
7:03 Reading and Filter all lines of a Config file
9:47 Changing a value in file