Search⌘ K
AI Features

Sample Kata

Explore fundamental DevOps command line tasks by creating directories and files, then editing text using the nano editor. This lesson develops your practical skills with Unix commands like mkdir, cd, touch, ls, and nano, building a solid foundation for later DevOps exercises.

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 ...