Nothing Special   »   [go: up one dir, main page]

Command Line Interface (CLI)

Basic CLI commands that every developer should know

Vivek Sharma
3 min readJan 31, 2024

CLI is a powerful tool that makes every developer’s journey more comfortable. If you are dealing with a large-scale, robust, and scalable system, better CLI knowledge can help debug issues in a faster and more effective way.

Some of the basic issues every developers must face in day-to-day life, like

  1. How to apply multiple filter to debug the logs
  2. How to compute the unique records from large file
  3. How to get intersection of employees details from two big file
  4. How to write a MySQL query if the number of rows is in billions.
  5. How to get specific columns and perform desired operation
  6. How to remove space or replace one word from another
  7. and many more

Here we will learn some of the most commonly used CLI Commands

1. Use of pwd ,cd ,touch ,mkdir ,nano vi, and cat

2. Use of ls

3. Use of vi

4. Use of less

5. Use of wc , sort , uniq

6. Use of grep

7. Use of tr

8. Use of sed

9. Use of comm

10. Use of join

11. Use of awk

Connect me — Linkedin

For CLI Video: Youtube

Link For Used Photos : https://bit.ly/42mlAUn

Happy Learning :)

--

--

No responses yet