The “A-B-C” of Linux Commands for Beginners

DANIEL AWEDA
2 min readSep 19, 2021

--

I remembered getting introduced to the Linux world last year (2020). To be honest, learning Linux was one of the most exciting adventures for me. It took courage and dedication to let go of my favorite Windows GUI interface and embrace something new.

Without much ado, let's dive in to understand some basics in the world of Linux.

  1. ls (list directory contents) — This command is used to list the contents of a directory.

Example:

2. cd (change directory) — This command is used to change the current working directory.

Example:

3. pwd (print working directory) — This command is used to display the current working directory.

Example:

4. mkdir (make directory) — This command is used to create a new directory.

Example:

5. rm (remove) — This command is used to remove files or directories.

Example:

6. cp (copy) — This command is used to copy files or directories.

Example:

7. mv (move) — This command is used to move files or directories.

Example:

8. cat (concatenate) — This command is used to display the contents of a file.

Example:

I hope these examples and learning resources help you get started with basic Linux commands. Happy learning!

--

--

DANIEL AWEDA
DANIEL AWEDA

Written by DANIEL AWEDA

Security Analyst by Day | Ethical Hacker by Night | Top 4% TryHackMe | Promotes Cybersecurity Awareness | Cloud | ServiceNow

No responses yet