Reading and Writing Files

Let's discuss what happens under the hood when a call to read or write is made.

We'll cover the following

Once we have some files, of course, we might like to read or write them. Let’s start by reading an existing file. If we were typing at a command line, we might just use the program cat to dump the contents of the file to the screen.

Get hands-on with 1200+ tech skills courses.