Bash Tutorial 7: Reading & Writing to Files HD
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: http://www.youtube.com/playlist?list=PLzZ0JczEkZfkvvycruN04zx6NmYYaavQI Script Download: https://raw.githubusercontent.com/quidsup/bash-tutorials/master/07-ReadWriteToFiles.sh 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