'Command line made easy' with CmdEasy and CmdEasy Web
Tags: devops, beginners, programming, webdev
Published: 2023-11-02 12:53:52

As software professionals, we use the command line a lot of times during programming, DevOps, client services etc.


We use the same commands over and over again. We forget the commands, and their parameters and end up searching most of the time. We seldom save those details and make it difficult to find them later. Sometimes the command parameters would be much bigger and we end up mixing the wrong parameters and screwing up the execution. Most of the Windows features can be invoked directly and quickly through commands, but instead of going via the easy route of using the terminal, to select a feature we end up going through  Windows search and waiting for too long to return multiple results.

---

So to summarize all the problem statements

- How can we easily create an alias for the commands or features and use it in the terminal?
 

- How can we save the commands for later execution?


- How can we quickly get the command history across all sessions?


- How can we quickly search and run commands from a Windows commands dictionary?


- How can we run Windows commands in web browsers like Google Chrome and Microsoft Edge?


So we will go to each statement and see how **CmdEasy** and **CmdEasy Web** solve all these problems by extending the command line that comes with Windows OS.

**CmdEasy** and **CmdEasy Web** apps are 100% free and unlimited for use.

- CmdEasy – https://www.teckee.net/Tools/Desktop?tool=cmdeasy

- CmdEasy Web - https://www.teckee.net/Tools/Desktop?tool=CmdEasy%20Web



---

## Create an alias for the commands or features and use it in the terminal

   CmdEasy has a very easy-to-use interface for creating custom 
  commands.


CmdEasy by default comes with two panels. 
On the left is the terminal panel where you can enter the commands and on the right the commands panel where all the saved commands would be listed.

    

![Terminal panel and Custom command panel](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j85floqrb9zsiao0cfsp.png)








You can select the Add/Add file options or drag/drop from Windows Explorer to add custom commands. Each custom command has three fields to enter. 

Name: 
Name of the command for identification purposes. It can be any name.

Alias: 
The custom name of your choice . You can type this name in the terminal to execute the command. 

Path: 
The actual Windows command/Absolute file paths/Absolute folder path

![How to add custom commands](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ifjyalpeyse64s2gzq1n.png)

By default, the CmdEasy adds a random value for each of these fields and you can override with your values.


An Example of a custom command for opening the add remove features in Windows OS.


**Name: AddRemove
Alias: ar
Path: appwiz. cpl**


Then in the terminal, you just have to enter the alias and then press the enter key. 

In the above example, if ‘**ar**’ is typed it would open the add remove applet 


  
       








If multiple instances are opened all custom command data will be synced automatically

For more details:
[How to create custom commands in CmdEasy?](https://www.teckee.net/Tools/Instruction/2ca27eda614072cf65e3cd0235c82324/5/create-custom-commands-in-cmdEasy-commands-commandline-cli-command-prompt-made-easy)

---



## Save the commands

This is very easy . You can simply create a custom command and later use it at any time.

For more details:
[How to create custom commands in CmdEasy?](https://www.teckee.net/Tools/Instruction/2ca27eda614072cf65e3cd0235c82324/5/create-custom-commands-in-cmdEasy-commands-commandline-cli-command-prompt-made-easy)

---



## Access the command history across all sessions 

CmdEasy stores the command history and it gets synced automatically if multiple instances are opened.

The latest top 20 commands can be accessed through the right-click menu from the terminal window. Upon selecting any item, the command will be inserted and executed.


![Latest top 20 commands history](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wes1t1ug080exzypbviq.png)

A more detailed history view is available where each command history is listed and each one can be inserted into the terminal to execute or can be deleted

  
    

![CmdEasy History detailed view](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r91fwi2noore5uyhgk6b.png)





 


---

## Search and run commands from a Windows Commands dictionary

Another nice feature of CmdEasy and CmdEasy web is the panel with the dictionary of Windows mostly uses prebuilt commands within the app and you can search insert and execute them into the terminal with a single click. Isn’t that great?

  
    
![CmdEasy with most useful windows commands](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ox8xq87saipznhigwipz.png)



---

## Run Windows commands from web browsers like Google Chrome and Microsoft Edge

All the custom commands configured in the CmdEasy desktop app and Windows commands can be executed through the CmdEasy Web as well.
You can go to CmdEasy Web from the CmdEasy desktop app or directly go to CmdEasy Web URL.

[CmdEasy Web](https://www.teckee.net/Tools/Desktop/CmdEasy%20Web)

   
![CmdEasy Web for running windows commands in web browsers](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ga7zlp5hmt091spyuxd1.png)


![CmdEasy Web with custom commands and windows useful commands](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/b83spy62g4nyxtv8k5uo.png)



---

## Sources

1. Teckee website – https://www.teckee.com

2. CmdEasy – https://www.teckee.net/Tools/Desktop?tool=cmdeasy

3. CmdEasy Web - https://www.teckee.net/Tools/Desktop?tool=CmdEasy%20Web

4. CmdEasy Web prerequisites - [Prerequisites](https://www.teckee.net/Tools/Instruction/ffa2234cd06c47219457e360cec859f5/781/What-are-the-pre-requisites-for-running-the-CmdEasy-Web-command-prompt)

---

Another tool from Teckee that is very useful for social media users.
 
Socialite - https://www.teckee.net/Tools/Desktop?tool=socialite

---