picture

Hello everyone, my name is Liang Xu.

Recently, the second uncle's video has exploded the whole network. Have you watched it? It is strongly recommended that you watch a wave, which is only 11 minutes, and is guaranteed to touch your tears.

But today, I won't talk about the second uncle, let's talk about technology.

Today, I will introduce to you a recently discovered terminal tool with very powerful functions and a very high appearance. I saw this artifact on other public account articles, but they didn't explain its power clearly, so I will share my experience with you after I experience it myself.

This artifact is- WindTerm!

I have also used many terminal tools before, such as SecurCRT, XShell, Putyy, MobaXterm. But the first time I saw it WindTerm, I was fascinated.

picture

It is a cross-platform (Windows, MacOS, Linux) SSH client developed in C language, completely free for commercial and non-commercial use, without restrictions. All distributed source code (except third-party directories) is provided under the terms of the Apache-2.0 license.

Main features:

  • Support SSH, Telnet, Tcp, Shell, Serial
  • Supports SSH v2, Telnet, Raw Tcp, Serial, Shell protocols.
  • SSH automatic execution is supported during session authentication.
  • Support SSH ControlMaster.
  • Supports SSH ProxyCommand or ProxyJump.
  • SSH agent forwarding is supported.
  • Supports SSH automatic login using password, public key, keyboard interaction, gssapi-with-mic.
  • X11 forwarding is supported.
  • Direct/local port forwarding, reverse/remote port forwarding and dynamic port forwarding are supported.
  • XModem, YModem and ZModem are supported.
  • Integrate sftp, scp client, support downloading, uploading, deleting, renaming, creating new files/directories, etc.
  • Integrated local file manager, support move to, copy to, copy from, delete, rename, create new file/directory, etc.
  • Supports Windows Cmd, PowerShell and Cmd, PowerShell as administrator.
  • Support Linux bash, zsh, powershell core, etc.
  • Support MacOS bash, zsh, powershell core, etc.

Combined with my experience in the past few days, I would like to share with you some features that really shocked me.

"

The following animation is from the author's blog. I wanted to record it myself, but the recorded gif file is very large. Does anyone have a friend to teach me?

"

1. The Power of WindTerm

1. Autocompletion

Autocompletion is a boon for us programmers! Think about how much time autocompletion saves us when we write code?

WindTermIt also has its own auto-completion function, which is the first time I have seen it in the terminal tool. Previously, when we typed commands, we used to keep hitting the Tabkey to complete the command Tab.

picture

2. Powerful historical backtracking function

Under normal circumstances, we need to view the commands that have been entered before, which are all using historycommands . On the other hand , WindTermit directly brings you a window of historical commands on the right, and you even historysave the commands!

picture

And it also has a filter function, you don't even have to do it grepanymore , it's so intimate!

If you want to re-execute a command, just double-click the corresponding command. Before, we also need to remember the number of the historical command and !re- execute it with .

Of course, you can still use !it, but he also strengthens it for you by the way. Not only can you re-execute commands in the current session, but you can also retrace commands you have typed in other sessions!

picture

3. Quick Commands

The so-called quick command is similar to a script. You can put the command to be executed in the quick command, and then execute the quick command, and it will execute the commands in it in order.

A bit tongue-in-cheek, isn't it? Give a picture and everyone will understand.

picture

(How did this window come out? Just click the small gear in the lower right corner)

Then, click the name of the quick command you started in the lower left corner to automatically execute the commands you just entered in order.

picture

This feature is also a boon if you don't know how to write scripts. (And programmers can't write scripts?? Take a photo of the course at the end of my article picture)

4. Free input mode

In other terminal tools, when we enter commands, we can only type letters in sequence. If we forget to type an option or parameter in the middle, we need to move the cursor back to make it up.

Early computers didn't have a mouse, so there was nothing wrong with doing this.

But now, almost all text editors support mouse operations, such as clicking on a position and then entering text, selecting text to delete, dragging text to other positions, and so on.

Other terminal tools I've seen basically don't support this, but WindTermit does ! ! Not only in the command window, but also  editors Vim, etc.!Emac

The effect of using it is very similar to Word!

picture

Insert as you want, delete as you want, and drag as you want. It's so convenient!

5. Highly customizable interface

We can see that WindTermthe interface contains a lot of content, but some columns may not be what we need, so they can be removed or customized.

This customizable interface is really powerful too!

Custom column:

picture

Custom Dock:

picture

Split screen function:

picture

6. Sync input function

If you are an operation and maintenance programmer, you may have the need to input a command to multiple servers at the same time.

I don't know about other terminal tools (I haven't seen them before), WindTermbut such a requirement has been realized, which is another amazing function!

picture

In fact, WindTermthere are many powerful functions, such as file upload and download, automatic lock screen, springboard, XModem, YModem, ZModem, and so on.

Due to space limitations, these features will not be expanded, and you can use them to experience them yourself.

2. Common settings

Create a session

Menu --> Session --> New Session

Enter the host name in the pop-up window, and the rest can be defaulted. Of course, if you want to set labels and groups, it is also supported.

picture

Enter the username again:

picture

Automatically copy selected content

My general habit is to copy the text selected with the mouse, and then right-click to paste it automatically. However, many terminals now do not have this function enabled by default, and need to be manually enabled.

Menu bar --> Session --> Preferences --> Settings

picture

Enable right-click paste text

Menu bar --> Session --> Preferences --> Settings

picture

Turn off the automatic label activation function when the mouse hovers over the label

WindTermOne feature I don't really like is that when you put the mouse over a label, it automatically activates that label. We can manually turn off this feature.

Menu bar --> Session --> Preferences --> Settings

picture

3. Summary

I have been using this terminal for a short period of time. I really admire the author for developing such a powerful tool.

I have been blowing MobaXterm before, if I don't know, I will be empathetic, haha~

However, there is no best tool, only the best tool for you. I have used Putty, SecureCRT, MobaXterm along the way, and tried many other terminal tools, such as FishShell, Termius, iTerm, and XShell, but I ended up at MobaXterm.

When I introduced MobaXterm, many people said that it was stuck, but I really didn't feel it after using it. So I have been saying a word, tools are tools after all, the most convenient is the best , including WindTerm.

I hope everyone has to help!


Liang Xu spent a month and a half developing a Linux command course, welcome to buy and learn!

course features:

  1. Summarize 150 high-frequency commands in detail, and you can meet 95% of the command requirements in your work after learning;
  2. The answering group provides unlimited answering services, and the atmosphere of the answering group is very good;
  3. The total time is more than 10 hours, which is comparable to the length of a large class.
Long press the card below to buypicturepicture


picture


Strongly recommend the Shell practical case course recorded by a Tencent boss (authorized):

  1. The boss has worked in Tencent for 6 years, and has worked in large factories for more than ten years, with rich experience;
  2. The boss summed up 100 cases based on his work experience in a large factory, which is super practical!
  3. After learning these 100 cases, you will definitely have a great improvement in your Shell programming;
  4. The answering group provides unlimited answering services, and the atmosphere of the answering group is very good.
Long press the card below to buypicturepicture


picture