Sample Kata

Practice with some katas by creating, listing, and editing some files.

We'll cover the following...

This sample kata will get us started. It will teach us how to create a file from the command line and then edit it with the text editor.

Execute the command in the terminal step-by-step. Repeat this process until the end of the sample kata.

Step 1: Create a directory

The command to create a directory is shown below:

C++
mkdir firstkata

Commands for Creating a Directory

Parameter

Description

mkdir

Creates a new directory.

firstkata

The name of the directory.

The mkdir Linux ...