Linux how to read write and edit text files