Write a program that:
message.txtwith a single line containing a “
Hello file system.” message on it;
Created text file message.txt” to the standard output.
Here is an example command line session:
$ ./file-write created text file message.txt $ cat message.txt Hello file system.
If your program is working correctly,
you should be able to open the
in your text editor of choice: gedit, nano, vi, notepad, etc.
You should see the written message on it.
On Linux systems you can use
to the the contents of the
from the command line.
On Windows system you can use
try first: hello
try next: file-read
Copyright © 2020-2021 Rudy Matela
All rights reserved