write « File Directory « Ruby






1.opens text.txt for reading and writing, and changes the first character of the first line to X.
2.Backing Up to Versioned Filenames