As a dev why you should use the command line
Harshit paliwal
Posted on September 30, 2021
why you should use CLI over GUI
You should use the commans line because if you use it in public or with your nontech friends you look cool 😂!!
CLI(command line interface) is faster than GUI(graphical user interface).
like if you want to move your CPP or py file and in this folder here in many more different files, in GUI you will do like ctrl + click select to those files and cut/move you do it like this right what if you want to select 100 CPP file in the folder of 1000 🥲 it is going to be a real drag.
If you are using CLI the command line you can move files by just typing one line
$ mv Desktop/* .cpp Downloads/
this is just a simple example with the command line we can do a lot of powerful stuff.
## How to get started
I want to help you to start with CLI here are some basic commands I use every time
Basic Commands
Use to see the path of the current working directory
$ pwd
To go inside the directory
$ cd project-name
To view the content of the directory
$ ls
For Copy the directory
$ cp File-name
To create new directory
$ mkdir main-project
To delete a directory
$ rmdir
To create new blank file
$ touch index.html
These are some main and basic commands.
start your Command-line journey.
I am glad if you find this post useful even a little bit🥳
Posted on September 30, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.