Imagine you have to delete files that are over 2 years old from a large dump of files. What would you do? Double click on every folder → sort the files by time → and carefully select the required files to be deleted?

What if there are subfolders inside which there are over 1000 more files to be sorted? The task is becoming a nightmare, isn’t it?

The good news is that all this can be done using a single Linux command. Here’s how.

What is Linux command?

Linux is an operating system (OS) that is present between applications and the hardware of our systems.

Linux Operating System 

The Command Line Interface (CLI) or the Linux terminal is where you get to type your commands and interact with the server. It is a text interface that performs operations the OS allows it to.

Command Line Interface (CLI) or Linux terminal

It is a powerful tool to ease your work that may look complex for GUI (Graphical User Interface) to support. Usually, operations performed via the CLI are faster than their GUI counterpart. In fact, you can run different tasks simultaneously in multiple command lines. And CLI requires very less RAM compared to GUI.

For these reasons, Linux commands are widely used to automate tasks when working on a large number of files or data.


  1. Bulk rename numerous files at one go.
  2. Replace a certain text from a large number of files.

Despite these advantages, it can be intimidating to use a Command Line Interface if you haven’t used one before.

If you are wondering what to do to get comfortable with it, the next section is for you.

How to start using Linux basic commands

Linux has a lengthy list of commands that make a developer’s life easy. But for beginners, this can be overwhelming.

By focusing on some basic commands at the start, it will be easy for you to get hands-on with a Command Line Interface of a Linux server in no time.


Quick exercise

Find out what these commands do:

  1. pwd
  2. ls
  3. cd
  4. cp
  5. mv

For starters, you can get familiar with Linux commands to do the following tasks with files and directories in your system:

  1. Create/Rename/Delete/Print
  2. Search/Replace/Find count
  3. Check file permissions

To level-up the fun and challenge, you can explore how to customize command behavior using flags.

Start learning Linux commands basics with Crio

Crio’s Linux Bytes are made for all beginners who want to get a hang of moving away from GUI and start using Linux commands for commonly performed tasks, understand in-depth about process resource usage, networking, and more.

What you will Learn by Doing in Linux Basics 1

  1. Purpose of using a Command Line Interface
  2. Ways to perform common tasks using the CLI compared to the usual GUI.
  3. How to navigate through a Linux file system.
  4. Use of redirection operators and piping to control output of commands.
  5. Data analysis of Hadoop log files to find out interesting insights.

What you will Learn by Doing in Linux Basics 2

  1. Understand the concept of processes and how to check their resource usage.
  2. Find out if your system supports GTA 5.
  3. Create a simple CLI-based chat application to understand networking terms like IP addresses and commands like ifconfig/ping/netstat.
  4. Use a bash script to programmatically remove comments from Python files.
  5. Understand environment variables and system PATH.
  6. Interesting quizzes to test your learning with involving use-cases.

As you immerse yourself in these tasks, you will appreciate the benefits of using Linux commands in real world applications.


By the end of these bytes, you will walk away with:

  1. Practical knowledge of applying a list of commonly used Linux commands.
  2. Thorough understanding of processes and Linux commands to monitor processes.
  3. Basic skills to retrieve system information using Linux commands.
  4. Fundamental knowledge using Linux network commands.
  5. Knowledge to use bash scripts and automate tasks or perform complex operations.
  6. A clear answer to the question -- How does the Linux terminal know what to do when a particular command is executed?

Real world applications of your skills

Linux is the underlying OS in a majority of the systems in today’s world. Learning to use the Command Line Interface on a Linux system is a key skill in every developer’s toolkit.

Being an open source system, Linux gives you the privilege of co-working with developers and sharing your learnings with each other.

The applications of Linux in the real world are plenty and here are some basic ones you will be able to perform after completing both the Linux Bytes:

  1. Perform tedious tasks like bulk renaming of files or replace text programmatically.
  2. Do quick analysis on log files.
  3. Work on cloud-based servers as they usually don’t come with a GUI.
  4. Automate tasks like checking if a system has enough resources(CPU/RAM/Storage) to run a process.
  5. Troubleshoot network connectivity problems.

Steps to get started with Crio Bytes

Step 1

Visit Crio.Do and Sign In using your Google account.

Sign into Crio's Workspace

Step 2

Go on Bytes (in the navigation bar on top) or search for Linux Basics in the search bar.

Select Bytes from the navigation bar on top

Step 3

Select the Byte and enter its overview page.

Micro-Experience overview page

Step 4

Go through the details present in the overview page:

  1. Expected duration of the Byte.
  2. Focus on broad skill to gain from the Byte.
  3. Prerequisites required before starting the Byte.
Details available on Micro-Experience overview page

Step 5

Once you have gone through the overview details, click on Start Now (top right corner) to enroll in the Byte.

Click on Start Now

Step 6

As soon as you enroll, you will be directed to the overview page of Module 1 of the Byte. Take a moment to go through the information given on this page.

Module 1 overview page

Step 7

Once you have gone through the overview, click on Task Board (next to Overview on the top navigation bar) to start learning.

Task Board

Learning on Crio platform

Each module is further broken down into multiple tasks on your Task Board.

Follow the setup instructions given in Task 1 of every module to get started with the milestone tasks.

Mark a task as complete (bottom of each task page) once finished to unlock the next task.

Click on Mark as Complete
Milestone #1 task unlocked

To maximize your learning, start with the setup tasks, and work your way through the milestone tasks.

Hints will periodically be unlocked for you when you are stuck with a problem for too long.

Hints locked on platform
Click on show hints when it appears and unlock hints 

You can change the layout of your task board to suit your style.

Task Board horizontal view
Task Board vertical view


Did you find this useful? Subscribe for more guides and tips on developer essentials in your inbox.