I was refreshing basic Linux commands and found tac was one of the commands rarely used, also found interesting in writing a Go program to Write the lines back from the file. I had thought of writing this program using file pointers or file seek methods and started searching for the packages like io,bufio and finally found ioutil example, enhanced further the same program with adding a for loop.