...

/

Preliminaries: Linux File Structure and Commands

Preliminaries: Linux File Structure and Commands

Look at file organization in Linux and some basic CLI commands.

We'll cover the following...

In previous exercises, we collected data from the user input and printed an output to the screen. In this chapter, we'll write some programs to accomplish the following tasks:

  • Read from and write to files

  • Read data from internet resources

  • Send emails over the internet

Before we learn to do all that, let's brush up on some file organization basics and basic Linux commands that would be helpful for observing the changes to the file structure made by our Ruby code—directly in the command-line interface (CLI).

File structure

  • A root directory is a ...