DEV Community

IGUNZA GEORGE
IGUNZA GEORGE

Posted on

Introduction to Linux for Data Engineers

Linux is a special way to run a computer. It's free, super strong, and lots of grown-ups who work with huge amounts of information use it every day.

Who is a Data Engineer?

A data engineer is like a builder who makes pipes and roads for information. Companies have tons of data — like all the videos people watch, all the games they play, or all the shopping they do. A data engineer helps move that data around quickly and safely so everyone can use it.

They often work with giant computers called servers. These servers live in big buildings full of computers.

Most of those big servers use Linux! Why? Because Linux is:

  • Very strong (doesn't break easily)

  • Free (anyone can use it)

  • Great at handling lots of work at once

  • Safe and secure

Many special tools that data engineers love (like Hadoop, Spark, and Kafka) work best on Linux.

The Magic Window: The Terminal

On Linux, you talk to the computer using a black window called the Terminal. You type commands, and the computer obeys — like giving secret orders!

Here are some easy commands to start exploring:

Bash
# See where you are (like checking your room)
pwd
# Example output:
/home/yourname

# List everything here (like looking in your toy box)
ls
# Example output:
Documents  Pictures  favorites.txt

# Go into a folder (like walking into another room)
cd Documents

# Make a new folder
mkdir my_stuff

# Make a new empty file
touch shopping_list.txt
Enter fullscreen mode Exit fullscreen mode

It's like playing a game where you control everything with words!

Editing Files: Meet Nano and Vi

Data engineers often need to write or change files — like lists, instructions, or little programs.
They use special tools called text editors right in the Terminal (no mouse needed!).
There are two popular ones: Nano (super easy) and Vi (a bit tricky but very powerful).

Nano — The Friendly Editor

Nano is like drawing with big crayons — simple and nice.

Type this to start:

nano 
favorites.txt
Enter fullscreen mode Exit fullscreen mode

Vi (or Vim) — The Powerful Editor

Vi is older and faster once you learn it. Many data engineers use it every day.

  1. Type this to start:
vi 
shopping_list.txt
Enter fullscreen mode Exit fullscreen mode
  1. It opens in "command mode" (you can't type yet).

  2. Press i to start typing (now it's "insert mode").

  3. Type your shopping items:

Milk
Bread
Bananas
Candy
Enter fullscreen mode Exit fullscreen mode
  1. Press Esc key to go back to command mode.

  2. Type :wq then Enter to save and quit.
    (If you mess up and want to quit without saving, type :q! then Enter.)

Bash
cat shopping_list.txt
# Output:
Milk
Bread
Bananas
Candy
Enter fullscreen mode Exit fullscreen mode

Top comments (0)